wok-4.x rev 2152

Punjab add config
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 05 17:08:03 2009 +0000 (2009-02-05)
parents a820b6ae1d43
children 9f8d05879d06
files punjab/receipt
line diff
     1.1 --- a/punjab/receipt	Thu Feb 05 17:06:51 2009 +0000
     1.2 +++ b/punjab/receipt	Thu Feb 05 17:08:03 2009 +0000
     1.3 @@ -9,17 +9,21 @@
     1.4  WEB_SITE="http://punjab.sourceforge.net"
     1.5  WGET_URL="http://code.stanziq.com/cgit/$PACKAGE/$PACKAGE/snapshot/$TARBALL"
     1.6  DEPENDS="python twisted twisted-words twisted-web twisted-conch pyopenssl"
     1.7 +BUILD_DEPENDS="python"
     1.8 +CONFIG_FILES="/etc/punjab.tac"
     1.9  
    1.10  # Rules to configure and make the package.
    1.11  compile_rules()
    1.12  {
    1.13  	cd $src
    1.14 +	mkdir -p _pkg/etc 2> /dev/null
    1.15 +	cp punjab.tac _pkg/etc
    1.16  	python setup.py build && python setup.py install --root=$PWD/_pkg
    1.17  }
    1.18  
    1.19  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.20  genpkg_rules()
    1.21  {
    1.22 -	cp -a $_pkg/usr $fs
    1.23 +	cp -a $_pkg/* $fs
    1.24  }
    1.25