wok annotate feedparser/receipt @ rev 9257

Add: linux-libre 2.6.37-libre (part 1)
author Antoine Bodin <gokhlayeh@slitaz.org>
date Tue Mar 15 03:23:44 2011 +0100 (2011-03-15)
parents 1073d7633e29
children d1768332cee0
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@8361 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 }