wok-current view feedparser/receipt @ rev 9534

Up Tazpkg (4.6) - Faster than ever, new 'up' short and easy to use command to manage system upgrade.
author Christophe Lincoln <pankso@slitaz.org>
date Fri Apr 08 17:22:34 2011 +0200 (2011-04-08)
parents 1073d7633e29
children d1768332cee0
line source
1 # SliTaz package receipt.
3 PACKAGE="feedparser"
4 VERSION="4.1"
5 CATEGORY="misc"
6 SHORT_DESC="Parse RSS and Atom feeds in Python"
7 MAINTAINER="jozee@slitaz.org"
8 DEPENDS="libxml2 python"
9 BUILD_DEPENDS="libxml2-dev python-dev"
10 TARBALL="$PACKAGE-$VERSION.zip"
11 WEB_SITE="http://feedparser.sf.net"
12 WGET_URL="http://downloads.sourceforge.net/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 patch -Np0 -i ../stuff/feedparser_utf8_decoding.patch
19 python setup.py build
20 python setup.py install --root=$PWD/_pkg
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib
28 cp -a $_pkg/usr/lib/python* $fs/usr/lib
29 }