# SliTaz package receipt. PACKAGE="gmtp" VERSION="1.3.11" CATEGORY="utilities" SHORT_DESC="A simple graphical MTP client." MAINTAINER="al.bobylev@gmail.com" LICENSE="BSD" WEB_SITE="https://sourceforge.net/projects/gmtp/" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" DEPENDS="flac GConf libid3tag libmtp" BUILD_DEPENDS="flac-dev GConf-dev gtk+-dev libid3tag-dev libmtp-dev libvorbis-dev" # What is the latest version available today? current_version() { wget -O - https://sourceforge.net/projects/gmtp/files/ 2>/dev/null | \ sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ sed '/scope="row/!d;s|.*/gMTP-||;s|/.*||;q' } # Rules to configure and make the package. compile_rules() { ./configure $CONFIGURE_ARGS && make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cp -a $install/* $fs }