wok-current view electric-fence/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 | b40e4601e9b5 |
children | a1c1d35d9f92 |
line source
1 # SliTaz package receipt.
3 PACKAGE="electric-fence"
4 VERSION="2.1.13"
5 CATEGORY="development"
6 SHORT_DESC="Memory allocation debugger"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="gdb"
9 TARBALL="${PACKAGE}_${VERSION}-0.1.tar.gz"
10 WEB_SITE="http://perens.com/works/software/"
11 WGET_URL="http://perens.com/works/software/ElectricFence/$TARBALL"
12 TAGS="debugger"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 src=${PACKAGE}-${VERSION}
18 cd $src
20 make
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 src=${PACKAGE}-${VERSION}
27 mkdir -p $fs/usr/lib $fs/usr/bin
28 cp -a $src/eftest $fs/usr/bin
29 cp -a $src/tstheap $fs/usr/bin
30 cp -a $src/*.a $fs/usr/lib
31 }