wok diff electric-fence/receipt @ rev 4236

tazbb: get KERNEL variable from linux receipt
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Sep 24 16:26:08 2009 +0200 (2009-09-24)
parents
children 31c985a0bd3d
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/electric-fence/receipt	Thu Sep 24 16:26:08 2009 +0200
     1.3 @@ -0,0 +1,31 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="electric-fence"
     1.7 +VERSION="2.1.13"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="Memory allocation debugger"
    1.10 +MAINTAINER="erjo@slitaz.org"
    1.11 +DEPENDS="gdb"
    1.12 +TARBALL="${PACKAGE}_${VERSION}-0.1.tar.gz"
    1.13 +WEB_SITE="http://perens.com/works/software/"
    1.14 +WGET_URL="http://perens.com/works/software/ElectricFence/$TARBALL"
    1.15 +
    1.16 +# Rules to configure and make the package.
    1.17 +compile_rules()
    1.18 +{
    1.19 +	src=${PACKAGE}-${VERSION}
    1.20 +	cd $src
    1.21 +	
    1.22 +	make 
    1.23 +}
    1.24 +
    1.25 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.26 +genpkg_rules()
    1.27 +{
    1.28 +	src=${PACKAGE}-${VERSION}
    1.29 +	mkdir -p $fs/usr/lib  $fs/usr/bin
    1.30 +	cp -a $src/eftest $fs/usr/bin
    1.31 +	cp -a $src/tstheap $fs/usr/bin
    1.32 +	cp -a $src/*.a  $fs/usr/lib
    1.33 +}
    1.34 +