wok annotate python-socketpool/receipt @ rev 16936

Up xterm (309), enable 256-color: package 20kB even less!
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Tue Jul 22 11:57:18 2014 +0200 (2014-07-22)
parents a9673381f756
children 7390f8de9846
rev   line source
claudinei@14878 1 # SliTaz package receipt.
claudinei@14878 2
claudinei@14878 3 PACKAGE="python-socketpool"
claudinei@14878 4 SOURCE="socketpool"
claudinei@14878 5 VERSION="0.5.2"
claudinei@14878 6 CATEGORY="development"
claudinei@14878 7 SHORT_DESC="A simple python socket pool."
claudinei@14878 8 MAINTAINER="claudinei@slitaz.org"
pascal@15376 9 LICENSE="MIT"
pascal@14882 10 TARBALL="$SOURCE-$VERSION.zip"
claudinei@14878 11 WEB_SITE="https://github.com/benoitc/socketpool/"
pascal@14882 12 WGET_URL="https://github.com/benoitc/$SOURCE/archive/$VERSION.zip"
claudinei@14878 13
claudinei@14878 14 DEPENDS="python"
claudinei@14878 15 BUILD_DEPENDS="python-dev setuptools wget"
claudinei@14878 16
claudinei@14878 17 # Rules to configure and make the package.
claudinei@14878 18 compile_rules()
claudinei@14878 19 {
claudinei@14878 20 cd $src
claudinei@14878 21 python setup.py install --root=$DESTDIR
claudinei@14878 22 }
claudinei@14878 23
claudinei@14878 24 # Rules to gen a SliTaz package suitable for Tazpkg.
claudinei@14878 25 genpkg_rules()
claudinei@14878 26 {
claudinei@14878 27 mkdir -p $fs/usr
claudinei@14878 28 rm -rf $install/usr/socketpool
claudinei@14878 29 cp -a $install/usr $fs
claudinei@14878 30 }
claudinei@14878 31