wok-4.x annotate electric-fence/receipt @ rev 1728
Add: electric-fence.
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Thu Nov 20 00:18:19 2008 +0100 (2008-11-20) |
parents | |
children | 31c985a0bd3d |
rev | line source |
---|---|
erjo@1728 | 1 # SliTaz package receipt. |
erjo@1728 | 2 |
erjo@1728 | 3 PACKAGE="electric-fence" |
erjo@1728 | 4 VERSION="2.1.13" |
erjo@1728 | 5 CATEGORY="development" |
erjo@1728 | 6 SHORT_DESC="Memory allocation debugger" |
erjo@1728 | 7 MAINTAINER="erjo@slitaz.org" |
erjo@1728 | 8 DEPENDS="gdb" |
erjo@1728 | 9 TARBALL="${PACKAGE}_${VERSION}-0.1.tar.gz" |
erjo@1728 | 10 WEB_SITE="http://perens.com/works/software/" |
erjo@1728 | 11 WGET_URL="http://perens.com/works/software/ElectricFence/$TARBALL" |
erjo@1728 | 12 |
erjo@1728 | 13 # Rules to configure and make the package. |
erjo@1728 | 14 compile_rules() |
erjo@1728 | 15 { |
erjo@1728 | 16 src=${PACKAGE}-${VERSION} |
erjo@1728 | 17 cd $src |
erjo@1728 | 18 |
erjo@1728 | 19 make |
erjo@1728 | 20 } |
erjo@1728 | 21 |
erjo@1728 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1728 | 23 genpkg_rules() |
erjo@1728 | 24 { |
erjo@1728 | 25 src=${PACKAGE}-${VERSION} |
erjo@1728 | 26 mkdir -p $fs/usr/lib $fs/usr/bin |
erjo@1728 | 27 cp -a $src/eftest $fs/usr/bin |
erjo@1728 | 28 cp -a $src/tstheap $fs/usr/bin |
erjo@1728 | 29 cp -a $src/*.a $fs/usr/lib |
erjo@1728 | 30 } |
erjo@1728 | 31 |