wok annotate bin86/receipt @ rev 13142
gource: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jul 09 18:46:00 2012 +0200 (2012-07-09) |
parents | 0d9c2c4acb3f |
children | 223b265f40fd |
rev | line source |
---|---|
slaxemulator@6755 | 1 # SliTaz package receipt. |
slaxemulator@6755 | 2 |
slaxemulator@6755 | 3 PACKAGE="bin86" |
slaxemulator@7984 | 4 VERSION="0.16.18" |
slaxemulator@6755 | 5 CATEGORY="development" |
slaxemulator@6755 | 6 SHORT_DESC="A complete 8086 assembler and loader" |
slaxemulator@6755 | 7 MAINTAINER="slaxemulator@gmail.com" |
slaxemulator@6755 | 8 DEPENDS="glibc-base" |
slaxemulator@6755 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@6755 | 10 WEB_SITE="http://www.debath.co.uk/" |
slaxemulator@7984 | 11 WGET_URL="http://www.debath.co.uk/dev86/$TARBALL" |
pascal@13033 | 12 TAGS="assembler 8086" |
slaxemulator@6755 | 13 |
slaxemulator@6755 | 14 # Rules to configure and make the package. |
slaxemulator@6755 | 15 compile_rules() |
slaxemulator@6755 | 16 { |
slaxemulator@6755 | 17 cd $src |
slaxemulator@6755 | 18 mkdir -p $PWD/_pkg/usr/bin $PWD/_pkg/usr/share/man/man1 |
slaxemulator@6755 | 19 make PREFIX=/usr && |
slaxemulator@6755 | 20 make PREFIX=$PWD/_pkg/usr MANDIR=$PWD/_pkg/usr/share/man/man1 install |
slaxemulator@6755 | 21 } |
slaxemulator@6755 | 22 |
slaxemulator@6755 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6755 | 24 genpkg_rules() |
slaxemulator@6755 | 25 { |
slaxemulator@6755 | 26 mkdir -p $fs/usr |
slaxemulator@6755 | 27 cp -a $_pkg/usr/bin $fs/usr |
slaxemulator@6755 | 28 } |