wok-6.x annotate python-pyprotocols/receipt @ rev 9450

Fixed gnu-netcat post_remove so /usr/bin/nc softlink can be made if --root option is used.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Apr 02 10:25:54 2011 +0000 (2011-04-02)
parents
children fd4f1e692109
rev   line source
pankso@4710 1 # SliTaz package receipt.
pankso@4710 2
pankso@4710 3 PACKAGE="python-pyprotocols"
pankso@4710 4 VERSION="0.9.3"
pankso@4710 5 CATEGORY="development"
pankso@4710 6 SHORT_DESC="PEP 246 and a whole lot more."
pankso@4710 7 MAINTAINER="pankso@slitaz.org"
pankso@4710 8 SOURCE="PyProtocols"
pankso@4710 9 TARBALL="$SOURCE-$VERSION.tar.gz"
pankso@4710 10 WEB_SITE="http://peak.telecommunity.com/PyProtocols.html"
pankso@4710 11 WGET_URL="http://peak.telecommunity.com/dist/$TARBALL"
pankso@4710 12 DEPENDS="python"
pankso@4710 13 BUILD_DEPENDS="python python-dev"
pankso@4710 14 TAGS="python"
pankso@4710 15
pankso@4710 16 # Rules to configure and make the package.
pankso@4710 17 compile_rules()
pankso@4710 18 {
pankso@4710 19 cd $src
pankso@4710 20 python setup.py install --root=$PWD/_pkg
pankso@4710 21 }
pankso@4710 22
pankso@4710 23 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@4710 24 genpkg_rules()
pankso@4710 25 {
pankso@4710 26 cp -a $_pkg/usr $fs
pankso@4710 27 }