# SliTaz package receipt. PACKAGE="id3v2" VERSION="0.1.12" CATEGORY="multimedia" SHORT_DESC="A command line editor for id3v2 tags." MAINTAINER="paul@slitaz.org" LICENSE="LGPL2.1" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="https://id3v2.sourceforge.net/" WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" DEPENDS="id3lib" BUILD_DEPENDS="id3lib-dev" # What is the latest version available today? current_version() { wget -O - https://sourceforge.net/projects/id3v2/files/id3v2/ 2>/dev/null | \ sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ sed '/scope="row/!d;s|.*/id3v2/||;s|/.*||;q' } # Rules to configure and make the package. compile_rules() { cd $src make } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/bin cp -a $src/$PACKAGE $fs/usr/bin chown -R root.root $fs }