wok-next annotate nasm/receipt @ rev 5424
linux: update bootloader.sh
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue May 04 17:35:57 2010 +0200 (2010-05-04) |
parents | c5a9be378b46 |
children | 7ead2736d651 |
rev | line source |
---|---|
pascal@1719 | 1 # SliTaz package receipt. |
pascal@1719 | 2 |
pascal@1719 | 3 PACKAGE="nasm" |
pascal@1719 | 4 VERSION="2.05.01" |
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 |
pascal@1719 | 17 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@1719 | 18 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@1719 | 19 make && |
pascal@1719 | 20 make INSTALLROOT=$PWD/_pkg 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@1719 | 27 cp -a $_pkg/usr/bin $fs/usr |
pascal@1719 | 28 } |
pascal@1719 | 29 |