wok-6.x view nasm/receipt @ rev 9392

Add rt-source-patch. This is so rt-source patch is downloaded to src folder and can be added to modular slitaz source dvd.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Mar 26 13:07:23 2011 +0000 (2011-03-26)
parents c05eef2cf368
children bcb6b1886153
line source
1 # SliTaz package receipt.
3 PACKAGE="nasm"
4 VERSION="2.09.04"
5 CATEGORY="development"
6 SHORT_DESC="The netwide assembler."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://www.nasm.us/"
10 WGET_URL="${WEB_SITE}pub/$PACKAGE/releasebuilds/$VERSION/$TARBALL"
11 TAGS="assembler"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure --prefix=/usr --infodir=/usr/share/info \
18 --mandir=/usr/share/man $CONFIGURE_ARGS &&
19 make &&
20 make INSTALLROOT=$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
28 }