wok-6.x annotate feedparser/receipt @ rev 4612
improve post_remove libv4l
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Wed Dec 16 19:26:37 2009 +0000 (2009-12-16) |
parents | |
children | e7e20f7f283a |
rev | line source |
---|---|
jozee@2679 | 1 # SliTaz package receipt. |
jozee@2679 | 2 |
jozee@2679 | 3 PACKAGE="feedparser" |
jozee@2679 | 4 VERSION="4.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" |
jozee@2679 | 10 TARBALL="$PACKAGE-$VERSION.zip" |
jozee@2679 | 11 WEB_SITE="http://feedparser.sf.net" |
jozee@2679 | 12 WGET_URL="http://downloads.sourceforge.net/$PACKAGE/$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 |
jozee@2679 | 18 cd $src |
jozee@2679 | 19 python setup.py build |
jozee@2679 | 20 python setup.py install --root=$PWD/$PACKAGE-$VERSION/_pkg |
jozee@2679 | 21 |
jozee@2679 | 22 } |
jozee@2679 | 23 |
jozee@2679 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2679 | 25 genpkg_rules() |
jozee@2679 | 26 { |
jozee@2679 | 27 mkdir -p $fs/usr/lib |
jozee@2679 | 28 cp -a $_pkg/usr/lib/python* $fs/usr/lib |
jozee@2679 | 29 } |