# SliTaz package receipt. PACKAGE="autoconf213" VERSION="2.13" CATEGORY="development" SHORT_DESC="A GNU tool for automatically configuring source code" MAINTAINER="psychomaniak@xakep.ru" LICENSE="GPL2" WEB_SITE="http://www.gnu.org/software/autoconf/" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="http://ftpmirror.gnu.org/autoconf/autoconf-$VERSION.tar.gz" DEPENDS="m4 perl" BUILD_DEPENDS="m4 perl sed" # What is the latest version available today? current_version() { wget -O - http://ftpmirror.gnu.org/autoconf/ 2>/dev/null | \ sed '/>autoconf-2\.13/!d;s|.*>autoconf-||;s|.t.*||' | sort -Vr | sed q } # Rules to configure and make the package. compile_rules() { ./configure --prefix=/usr --program-suffix=-2.13 make && make prefix="$DESTDIR/usr" install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cp -a $install/* $fs }