wok-current diff protobuf-python/receipt @ rev 11586
mplayerplug-in: hack compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jan 08 17:59:32 2012 +0100 (2012-01-08) |
parents | |
children | 51a1ebbda768 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/protobuf-python/receipt Sun Jan 08 17:59:32 2012 +0100 1.3 @@ -0,0 +1,27 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="protobuf-python" 1.7 +VERSION="2.4.1" 1.8 +CATEGORY="network" 1.9 +SHORT_DESC="Encode structured data in an efficient yet extensible format.(python)" 1.10 +MAINTAINER="slaxemulator@gmail.com" 1.11 +WEB_SITE="http://code.google.com/p/protobuf/" 1.12 +SOURCE="protobuf" 1.13 +TARBALL="$SOURCE-$VERSION.tar.bz2" 1.14 +WGET_URL="http://protobuf.googlecode.com/files/$TARBALL" 1.15 + 1.16 +DEPENDS="python protobuf" 1.17 +BUILD_DEPENDS="protobuf-dev python-dev setuptools" 1.18 + 1.19 +# Rules to configure and make the package. 1.20 +compile_rules() 1.21 +{ 1.22 + cd $src/python 1.23 + python setup.py install --prefix=/usr --root $DESTDIR 1.24 +} 1.25 + 1.26 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.27 +genpkg_rules() 1.28 +{ 1.29 + cp -a $install/* $fs 1.30 +}