wok-current view yasm/receipt @ rev 9113

slitaz-doc: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 05 11:34:20 2011 +0100 (2011-03-05)
parents b442795bbc26
children b8454fb20cc5
line source
1 # SliTaz package receipt.
3 PACKAGE="yasm"
4 VERSION="1.1.0"
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 }