wok-current annotate nasm/receipt @ rev 15185
linux-source: add mirror src fallback
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Aug 23 18:59:48 2013 +0000 (2013-08-23) |
parents | 4d84a55fb207 |
children | 3765f181a6d5 |
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@1719 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@1719 | 9 WEB_SITE="http://www.nasm.us/" |
pascal@1719 | 10 WGET_URL="${WEB_SITE}pub/$PACKAGE/releasebuilds/$VERSION/$TARBALL" |
jozee@4969 | 11 TAGS="assembler" |
pascal@1719 | 12 |
pascal@1719 | 13 # Rules to configure and make the package. |
pascal@1719 | 14 compile_rules() |
pascal@1719 | 15 { |
pascal@1719 | 16 cd $src |
slaxemulator@10091 | 17 ./configure $CONFIGURE_ARGS && |
pascal@1719 | 18 make && |
slaxemulator@9523 | 19 make INSTALLROOT=$DESTDIR install |
pascal@1719 | 20 } |
pascal@1719 | 21 |
pascal@1719 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1719 | 23 genpkg_rules() |
pascal@1719 | 24 { |
pascal@1719 | 25 mkdir -p $fs/usr |
pascal@1719 | 26 cp -a $_pkg/usr/bin $fs/usr |
pascal@1719 | 27 } |
pascal@1719 | 28 |