# SliTaz package receipt. PACKAGE="beep" VERSION="1.3" CATEGORY="system-tools" SHORT_DESC="Advanced pc-speaker beeper." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" WEB_SITE="http://www.johnath.com/beep/README" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="http://www.johnath.com/beep/$TARBALL" # What is the latest version available today? current_version() { wget -O - ${WGET_URL%/*} 2>/dev/null | \ sed '/latest version/!d;s|.* is v||;s|,.*||;q' } # Rules to configure and make the package. compile_rules() { make cook_pick_manpages beep.1.gz } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/bin cp -a $src/beep $fs/usr/bin } post_remove() { ln -s /bin/busybox "$1/usr/bin/beep" }