# SliTaz package receipt. PACKAGE="smake" VERSION="1.2.5" CATEGORY="development" SHORT_DESC="Generate executables and other files from source." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2 LGPL2.1 CDDL" WEB_SITE="https://sourceforge.net/projects/s-make/" TARBALL="$PACKAGE-$VERSION.tar.bz2" WGET_URL="$SF_MIRROR/s-make/$TARBALL" DEPENDS="" BUILD_DEPENDS="" # What is the latest version available today? current_version() { wget -O - https://sourceforge.net/projects/s-make/files/ 2>/dev/null | \ sed '/scope="row/!d;/smake-/!d;s|.*/smake-||;s|.tar.*||;q' } # Rules to configure and make the package. compile_rules() { make INS_BASE=/usr MANDIR=share/man 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 }