wok-next view yasm/receipt @ rev 6540
Disable chain-cook & add +build option for genpkg only
author | Antoine Bodin <gokhlayeh@mailoo.org> |
---|---|
date | Thu Oct 07 02:09:49 2010 +0200 (2010-10-07) |
parents | ca5400ffaa15 |
children | fca1cf108f36 |
line source
1 # SliTaz package receipt.
3 PACKAGE="yasm"
4 VERSION="1.0.1"
5 CATEGORY="development"
6 MAINTAINER="jozee@slitaz.org"
7 SHORT_DESC="A rewrite of NASM to allow for multiple syntax supported (NASM, TASM, GAS, etc.)"
8 DEPENDS="glibc-base"
9 WEB_SITE="http://www.tortall.net/projects/yasm/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="$WEB_SITE/releases/$TARBALL"
12 TAGS=""
14 # Rules to configure and make the package.
16 compile_rules() {
17 cd $src
18 ./configure --prefix=/usr
19 make
20 make DESTDIR=$PWD/_pkg install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr
27 cp -a $_pkg/usr/bin $fs/usr
29 }