wok-current view bin86/receipt @ rev 7909

Added DESTDIR=PWD/_pkg to attr. Needed for it to make packages.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Jan 09 12:03:10 2011 +0000 (2011-01-09)
parents
children 0d9c2c4acb3f
line source
1 # SliTaz package receipt.
3 PACKAGE="bin86"
4 VERSION="0.16.17"
5 CATEGORY="development"
6 SHORT_DESC="A complete 8086 assembler and loader"
7 MAINTAINER="slaxemulator@gmail.com"
8 DEPENDS="glibc-base"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.debath.co.uk/"
11 WGET_URL="http://homepage.ntlworld.com/robert.debath/dev86/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 mkdir -p $PWD/_pkg/usr/bin $PWD/_pkg/usr/share/man/man1
18 make PREFIX=/usr &&
19 make PREFIX=$PWD/_pkg/usr MANDIR=$PWD/_pkg/usr/share/man/man1 install
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr
26 cp -a $_pkg/usr/bin $fs/usr
27 }