wok-next annotate feedparser/receipt @ rev 9827
gcc3: should fix the build
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun May 15 16:30:57 2011 +0200 (2011-05-15) |
parents | 3fe66405923b |
children | a873d962c59b |
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 cd $src |
slaxemulator@9700 | 18 patch -Np0 -i $stuff/feedparser_utf8_decoding.patch |
jozee@2679 | 19 python setup.py build |
slaxemulator@8360 | 20 python setup.py install --root=$PWD/_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 } |