# SliTaz package receipt. PACKAGE="asxxxx" VERSION="5.40" CATEGORY="development" SHORT_DESC="Collection of cross assemblers for many microprocessors." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL3" TARBALL="$PACKAGE-$VERSION.zip" WEB_SITE="https://shop-pdp.net/ashtml/asxxxx.php" WGET_URL="https://shop-pdp.net/_ftp/asxxxx/asxs${VERSION/./p}.zip" # What is the latest version available today? current_version() { wget -O - $WEB_SITE 2>/dev/null | \ sed '/ersion/!d;s|.*sion ||;s|,.*||;q' } # Rules to configure and make the package. compile_rules() { mkdir -p $DESTDIR/usr/bin cd $src/asxv*pxx/asxmak/linux/build make DSTEXE=$DESTDIR/usr/bin/ } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr $install/usr/share/doc cp $src/*.txt $install/usr/share/doc cp -a $install/usr/bin $fs/usr }