# SliTaz package receipt. PACKAGE="lingot" VERSION="0.8.1" CATEGORY="multimedia" SHORT_DESC="Musical instrument tuner" MAINTAINER="pankso@slitaz.org" LICENSE="GPL2" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://www.nongnu.org/lingot/" WGET_URL="http://download.savannah.gnu.org/releases/lingot/$TARBALL" DEPENDS="gtk+ alsa-lib jack-audio-connection-kit libglade" BUILD_DEPENDS="gtk+-dev alsa-lib-dev jack-audio-connection-kit-dev \ libglade-dev intltool" # 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 \ --disable-jack $CONFIGURE_ARGS && make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/share/applications cp -a $stuff/lingot.desktop $fs/usr/share/applications cp -a $install/usr/bin $fs/usr cp -a $install/usr/share/lingot $fs/usr/share }