wok-current view python-socketpool/receipt @ rev 15324

Up tcpdump (4.4.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 27 21:57:38 2013 +0000 (2013-09-27)
parents 3929f17027b3
children bf4a09ef1d2e
line source
1 # SliTaz package receipt.
3 PACKAGE="python-socketpool"
4 SOURCE="socketpool"
5 VERSION="0.5.2"
6 CATEGORY="development"
7 SHORT_DESC="A simple python socket pool."
8 MAINTAINER="claudinei@slitaz.org"
9 TARBALL="$SOURCE-$VERSION.zip"
10 WEB_SITE="https://github.com/benoitc/socketpool/"
11 WGET_URL="https://github.com/benoitc/$SOURCE/archive/$VERSION.zip"
13 DEPENDS="python"
14 BUILD_DEPENDS="python-dev setuptools wget"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 python setup.py install --root=$DESTDIR
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr
27 rm -rf $install/usr/socketpool
28 cp -a $install/usr $fs
29 }