wok annotate nasm/receipt @ rev 17896
Up libbfd (2.25)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 02 17:29:58 2015 +0200 (2015-04-02) |
parents | 3765f181a6d5 |
children | a78610b2eb47 |
rev | line source |
---|---|
pascal@1719 | 1 # SliTaz package receipt. |
pascal@1719 | 2 |
pascal@1719 | 3 PACKAGE="nasm" |
pankso@16059 | 4 VERSION="2.11.02" |
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" |
pankso@16059 | 9 TARBALL="$PACKAGE-$VERSION.tar.xz" |
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" |
pankso@16059 | 13 HOST_ARCH="i486 arm" |
pascal@1719 | 14 |
pascal@1719 | 15 # Rules to configure and make the package. |
pascal@1719 | 16 compile_rules() |
pascal@1719 | 17 { |
pascal@1719 | 18 cd $src |
slaxemulator@10091 | 19 ./configure $CONFIGURE_ARGS && |
pascal@1719 | 20 make && |
slaxemulator@9523 | 21 make INSTALLROOT=$DESTDIR install |
pascal@1719 | 22 } |
pascal@1719 | 23 |
pascal@1719 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1719 | 25 genpkg_rules() |
pascal@1719 | 26 { |
pascal@1719 | 27 mkdir -p $fs/usr |
pascal@15584 | 28 cp -a $install/usr/bin $fs/usr |
pascal@1719 | 29 } |
pascal@1719 | 30 |