wok-stable view nasm/receipt @ rev 5794

rcs: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 11 11:45:54 2010 +0200 (2010-07-11)
parents bee79018e13a
children c05eef2cf368
line source
1 # SliTaz package receipt.
3 PACKAGE="nasm"
4 VERSION="2.08.01"
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 }