# SliTaz package receipt. PACKAGE="cd-discid" VERSION="1.4" CATEGORY="multimedia" TAGS="audio CD CDDB" SHORT_DESC="Utility to get CDDB discid information from a CD-ROM disc" MAINTAINER="domcox@slitaz.org" LICENSE="GPL2" WEB_SITE="http://linukz.org/cd-discid.shtml" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="http://linukz.org/download/$TARBALL" DEPENDS="" # What is the latest version available today? current_version() { wget -O - $WEB_SITE 2>/dev/null | \ sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q } # Rules to configure and make the package. compile_rules() { make PREFIX=/usr && make PREFIX=/usr DESTDIR=$install install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr cp -a $install/usr/bin $fs/usr }