wok-6.x view feedparser/receipt @ rev 13278
Compress modules with xz
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Aug 23 19:24:51 2012 +0200 (2012-08-23) |
parents | d1768332cee0 |
children | 83b6ea539f40 |
line source
1 # SliTaz package receipt.
3 PACKAGE="feedparser"
4 VERSION="5.0.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.tar.bz2"
11 WEB_SITE="http://feedparser.sf.net"
12 WGET_URL="http://feedparser.googlecode.com/files/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 python setup.py build
19 python setup.py install --root=$DESTDIR
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/lib
26 cp -a $_pkg/usr/lib/python* $fs/usr/lib
27 }