wok-6.x annotate python-vobject/receipt @ rev 14107
Up: libwekkit-video (1.8.3) + Build fix with bison 2.6
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Sun Feb 24 09:19:03 2013 +0100 (2013-02-24) |
parents | |
children | bf4a09ef1d2e |
rev | line source |
---|---|
pascal@11727 | 1 # SliTaz package receipt. |
pascal@11727 | 2 |
pascal@11727 | 3 PACKAGE="python-vobject" |
pascal@11727 | 4 SOURCE="vobject" |
pascal@11727 | 5 VERSION="0.8.1c" |
pascal@11727 | 6 CATEGORY="development" |
pascal@11727 | 7 SHORT_DESC="Parse iCalendar and VCards in Python." |
pascal@11727 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@11727 | 9 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@11727 | 10 WEB_SITE="http://vobject.skyhouseconsulting.com/" |
pascal@11727 | 11 WGET_URL="${WEB_SITE}$TARBALL" |
pascal@11727 | 12 |
pascal@11727 | 13 DEPENDS="python python-dateutil" |
pascal@11727 | 14 BUILD_DEPENDS="python-dev python setuptools" |
pascal@11727 | 15 |
pascal@11727 | 16 # Rules to configure and make the package. |
pascal@11727 | 17 compile_rules() |
pascal@11727 | 18 { |
pascal@11727 | 19 cd $src |
pascal@11727 | 20 python setup.py build && |
pascal@11727 | 21 python setup.py install --root=$DESTDIR |
pascal@11727 | 22 } |
pascal@11727 | 23 |
pascal@11727 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11727 | 25 genpkg_rules() |
pascal@11727 | 26 { |
pascal@11727 | 27 mkdir -p $fs |
pascal@11727 | 28 cp -a $_pkg/usr $fs |
pascal@11727 | 29 } |