wok annotate yasm/receipt @ rev 7035
Merge
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sun Oct 31 23:40:37 2010 +0100 (2010-10-31) |
parents | ca5400ffaa15 |
children | fca1cf108f36 |
rev | line source |
---|---|
jozee@4536 | 1 # SliTaz package receipt. |
jozee@4536 | 2 |
jozee@4536 | 3 PACKAGE="yasm" |
devl547@5608 | 4 VERSION="1.0.1" |
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 } |