# SliTaz package receipt. PACKAGE="normalize" VERSION="0.7.7" CATEGORY="multimedia" SHORT_DESC="Audio file volume normalizer" MAINTAINER="devl547@gmail.com" LICENSE="GPL2" TARBALL="$PACKAGE-$VERSION.tar.bz2" WEB_SITE="http://normalize.nongnu.org/" WGET_URL="http://savannah.nongnu.org/download/$PACKAGE/$TARBALL" BUILD_DEPENDS="libmad-dev audiofile-dev" DEPENDS="libmad audiofile" # What is the latest version available today? current_version() { wget -O - ${WGET_URL%/*} 2>/dev/null | \ sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q } # Rules to configure and make the package. compile_rules() { cd $src ./configure --prefix=/usr --sysconfdir=/etc \ --libexecdir=/usr/bin --mandir=/usr/share/man \ $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/ cp -a $install/usr/bin $fs/usr }