wok-4.x annotate yasm/receipt @ rev 5423
Up bind (9.7.0-P1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue May 04 15:27:38 2010 +0200 (2010-05-04) |
parents | |
children | ca5400ffaa15 |
rev | line source |
---|---|
jozee@4536 | 1 # SliTaz package receipt. |
jozee@4536 | 2 |
jozee@4536 | 3 PACKAGE="yasm" |
jozee@4536 | 4 VERSION="0.8.0" |
jozee@4536 | 5 CATEGORY="development" |
jozee@4536 | 6 MAINTAINER="jozee@slitaz.org" |
jozee@4536 | 7 SHORT_DESC="A rewrite of NASM to allow for multiple syntax supported (NASM, TASM, GAS, etc.)" |
jozee@4536 | 8 DEPENDS="glibc-base" |
jozee@4536 | 9 WEB_SITE="http://www.tortall.net/projects/yasm/" |
jozee@4536 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
jozee@4536 | 11 WGET_URL="$WEB_SITE/releases/$TARBALL" |
jozee@4536 | 12 TAGS="" |
jozee@4536 | 13 |
jozee@4536 | 14 # Rules to configure and make the package. |
jozee@4536 | 15 |
jozee@4536 | 16 compile_rules() { |
jozee@4536 | 17 cd $src |
jozee@4536 | 18 ./configure --prefix=/usr |
jozee@4536 | 19 make |
jozee@4536 | 20 make DESTDIR=$PWD/_pkg install |
jozee@4536 | 21 } |
jozee@4536 | 22 |
jozee@4536 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@4536 | 24 genpkg_rules() |
jozee@4536 | 25 { |
jozee@4536 | 26 mkdir -p $fs/usr |
jozee@4536 | 27 cp -a $_pkg/usr/bin $fs/usr |
jozee@4536 | 28 |
jozee@4536 | 29 } |