wok-6.x view 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 |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-pyprotocols"
4 VERSION="0.9.3"
5 CATEGORY="development"
6 SHORT_DESC="PEP 246 and a whole lot more."
7 MAINTAINER="pankso@slitaz.org"
8 SOURCE="PyProtocols"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="http://peak.telecommunity.com/PyProtocols.html"
11 WGET_URL="http://peak.telecommunity.com/dist/$TARBALL"
12 DEPENDS="python"
13 BUILD_DEPENDS="python python-dev"
14 TAGS="python"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 python setup.py install --root=$PWD/_pkg
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 cp -a $_pkg/usr $fs
27 }