wok-6.x annotate tahoe-lafs/receipt @ rev 15057
codiad: use config.example.php
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 13 10:34:38 2013 +0000 (2013-08-13) |
parents | 5da1a54fd524 |
children | 600aaedb561d |
rev | line source |
---|---|
pascal@13244 | 1 # SliTaz package receipt. |
pascal@13244 | 2 |
pascal@13244 | 3 PACKAGE="tahoe-lafs" |
pascal@13244 | 4 VERSION="1.9.1" |
pascal@13244 | 5 CATEGORY="system-tools" |
pascal@13244 | 6 SHORT_DESC="Cloud storage system." |
pascal@13244 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@13244 | 8 TARBALL="allmydata-tahoe-$VERSION.zip" |
pascal@13244 | 9 WEB_SITE="https://tahoe-lafs.org/" |
pascal@13244 | 10 WGET_URL="${WEB_SITE}source/$PACKAGE/releases/$TARBALL" |
pascal@13244 | 11 TAGS="filesystem backup" |
pascal@13244 | 12 |
pascal@13244 | 13 DEPENDS="python setuptools python-simplejson zopeinterface twisted pyopenssl \ |
pascal@13244 | 14 pycrypto zfec foolscap pyasn1 mock pycryptopp" |
pascal@13406 | 15 BUILD_DEPENDS="wget python-dev gmp-dev openssl-dev" |
pascal@13244 | 16 |
pascal@13244 | 17 # Rules to configure and make the package. |
pascal@13244 | 18 compile_rules() |
pascal@13244 | 19 { |
pascal@13244 | 20 cd $src |
pascal@13244 | 21 python setup.py build |
pascal@13244 | 22 python setup.py install --root=$DESTDIR |
pascal@13244 | 23 } |
pascal@13244 | 24 |
pascal@13244 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13244 | 26 genpkg_rules() |
pascal@13244 | 27 { |
pascal@13244 | 28 cp -a $_pkg/usr $fs |
pascal@13244 | 29 } |