# SliTaz package receipt. PACKAGE="nasm" VERSION="2.15.05" CATEGORY="development" TAGS="assembler" SHORT_DESC="The netwide assembler." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="BSD" WEB_SITE="https://www.nasm.us/" TARBALL="$PACKAGE-$VERSION.tar.xz" WGET_URL="${WEB_SITE}pub/$PACKAGE/releasebuilds/$VERSION/$TARBALL" HOST_ARCH="i486 arm" # What is the latest version available today? current_version() { wget -O - $WEB_SITE 2>/dev/null | \ sed '/releasebuilds/!d;s|.*releasebuilds/||;s|/.*||;/[0-9]/!d;q' } # Rules to configure and make the package. compile_rules() { ./configure $CONFIGURE_ARGS && make && make INSTALLROOT=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr cp -a $install/usr/bin $fs/usr }