# HG changeset patch # User Pascal Bellard # Date 1233853683 0 # Node ID 9a3b496df3cffb6b5043e8e6b526ca47b63380f5 # Parent a820b6ae1d43c48073879cfc73a49a9e4eea9b12 Punjab add config diff -r a820b6ae1d43 -r 9a3b496df3cf punjab/receipt --- a/punjab/receipt Thu Feb 05 17:06:51 2009 +0000 +++ b/punjab/receipt Thu Feb 05 17:08:03 2009 +0000 @@ -9,17 +9,21 @@ WEB_SITE="http://punjab.sourceforge.net" WGET_URL="http://code.stanziq.com/cgit/$PACKAGE/$PACKAGE/snapshot/$TARBALL" DEPENDS="python twisted twisted-words twisted-web twisted-conch pyopenssl" +BUILD_DEPENDS="python" +CONFIG_FILES="/etc/punjab.tac" # Rules to configure and make the package. compile_rules() { cd $src + mkdir -p _pkg/etc 2> /dev/null + cp punjab.tac _pkg/etc python setup.py build && python setup.py install --root=$PWD/_pkg } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - cp -a $_pkg/usr $fs + cp -a $_pkg/* $fs }