wok-current annotate yasm/receipt @ rev 4536
Add yasm, yasm-dev
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Mon Nov 30 10:44:20 2009 +0000 (2009-11-30) |
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 } |