wok-6.x view feedparser/receipt @ rev 17146
libmrss: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Sep 10 13:04:01 2014 +0200 (2014-09-10) |
parents | 83b6ea539f40 |
children | 16df76e1fc6a |
line source
1 # SliTaz package receipt.
3 PACKAGE="feedparser"
4 VERSION="5.1.3"
5 CATEGORY="misc"
6 SHORT_DESC="Parse RSS and Atom feeds in Python"
7 MAINTAINER="jozee@slitaz.org"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://feedparser.sf.net"
11 WGET_URL="http://feedparser.googlecode.com/files/$TARBALL"
13 DEPENDS="libxml2 python"
14 BUILD_DEPENDS="libxml2-dev python-dev setuptools"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 python setup.py install --root=$DESTDIR
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/lib
27 cp -a $install/usr/lib/python* $fs/usr/lib
28 }