wok annotate feedparser/receipt @ rev 11576
nvclock: autoreconf before build
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Mon Jan 02 23:06:19 2012 +0100 (2012-01-02) |
parents | d1768332cee0 |
children | 83b6ea539f40 |
rev | line source |
---|---|
jozee@2679 | 1 # SliTaz package receipt. |
jozee@2679 | 2 |
jozee@2679 | 3 PACKAGE="feedparser" |
slaxemulator@11106 | 4 VERSION="5.0.1" |
jozee@2679 | 5 CATEGORY="misc" |
jozee@2679 | 6 SHORT_DESC="Parse RSS and Atom feeds in Python" |
jozee@2679 | 7 MAINTAINER="jozee@slitaz.org" |
jozee@2679 | 8 DEPENDS="libxml2 python" |
jozee@2679 | 9 BUILD_DEPENDS="libxml2-dev python-dev" |
slaxemulator@11106 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
jozee@2679 | 11 WEB_SITE="http://feedparser.sf.net" |
slaxemulator@11106 | 12 WGET_URL="http://feedparser.googlecode.com/files/$TARBALL" |
jozee@2679 | 13 |
jozee@2679 | 14 # Rules to configure and make the package. |
jozee@2679 | 15 compile_rules() |
jozee@2679 | 16 { |
jozee@2679 | 17 cd $src |
jozee@2679 | 18 python setup.py build |
slaxemulator@11106 | 19 python setup.py install --root=$DESTDIR |
jozee@2679 | 20 } |
jozee@2679 | 21 |
jozee@2679 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2679 | 23 genpkg_rules() |
jozee@2679 | 24 { |
jozee@2679 | 25 mkdir -p $fs/usr/lib |
jozee@2679 | 26 cp -a $_pkg/usr/lib/python* $fs/usr/lib |
jozee@2679 | 27 } |