wok-current view dev86/receipt @ rev 8504
gcc+gcj: remove build dir after packing files, don't exit but return
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sat Feb 12 02:18:58 2011 +0100 (2011-02-12) |
parents | 8290ff5b0d6b |
children | f7460b4117e7 |
line source
1 # SliTaz package receipt.
3 PACKAGE="dev86"
4 VERSION="0.16.18"
5 CATEGORY="development"
6 SHORT_DESC="Linux 8086 development environment."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 SOURCE="Dev86src"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="http://www.debath.co.uk/"
11 WGET_URL="${WEB_SITE}$PACKAGE/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 mv $PACKAGE-$VERSION $src 2> /dev/null
17 cd $src
18 # Be busybox compatible
19 sed -i 's/ | cat -v//' libcompat
20 echo q | make -j 1 PREFIX=/usr &&
21 make -j 1 DIST=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr
28 cp -a $_pkg/usr/bin $fs/usr
29 cp -a $_pkg/usr/lib $fs/usr
30 }