wok annotate nasm/receipt @ rev 15625

nut: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 08 16:00:02 2013 +0000 (2013-12-08)
parents a1ba07a3f4cb
children 4bc239bf6b69
rev   line source
pascal@1719 1 # SliTaz package receipt.
pascal@1719 2
pascal@1719 3 PACKAGE="nasm"
samuel_trassare@11877 4 VERSION="2.09.10"
pascal@1719 5 CATEGORY="development"
pascal@1719 6 SHORT_DESC="The netwide assembler."
pascal@1719 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15584 8 LICENSE="BSD"
pascal@1719 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@1719 10 WEB_SITE="http://www.nasm.us/"
pascal@1719 11 WGET_URL="${WEB_SITE}pub/$PACKAGE/releasebuilds/$VERSION/$TARBALL"
jozee@4969 12 TAGS="assembler"
pascal@1719 13
pascal@1719 14 # Rules to configure and make the package.
pascal@1719 15 compile_rules()
pascal@1719 16 {
pascal@1719 17 cd $src
slaxemulator@10091 18 ./configure $CONFIGURE_ARGS &&
pascal@1719 19 make &&
slaxemulator@9523 20 make INSTALLROOT=$DESTDIR install
pascal@1719 21 }
pascal@1719 22
pascal@1719 23 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1719 24 genpkg_rules()
pascal@1719 25 {
pascal@1719 26 mkdir -p $fs/usr
pascal@15584 27 cp -a $install/usr/bin $fs/usr
pascal@1719 28 }
pascal@1719 29