wok-next rev 2679
Add python-based feedparser
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Tue Apr 21 13:37:42 2009 +0000 (2009-04-21) |
parents | fce1c4d0d9c7 |
children | c5f7c8ee2f96 |
files | feedparser/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/feedparser/receipt Tue Apr 21 13:37:42 2009 +0000 1.3 @@ -0,0 +1,29 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="feedparser" 1.7 +VERSION="4.1" 1.8 +CATEGORY="misc" 1.9 +SHORT_DESC="Parse RSS and Atom feeds in Python" 1.10 +MAINTAINER="jozee@slitaz.org" 1.11 +DEPENDS="libxml2 python" 1.12 +BUILD_DEPENDS="libxml2-dev python-dev" 1.13 +TARBALL="$PACKAGE-$VERSION.zip" 1.14 +WEB_SITE="http://feedparser.sf.net" 1.15 +WGET_URL="http://downloads.sourceforge.net/$PACKAGE/$TARBALL" 1.16 + 1.17 +# Rules to configure and make the package. 1.18 +compile_rules() 1.19 +{ 1.20 + 1.21 + cd $src 1.22 + python setup.py build 1.23 + python setup.py install --root=$PWD/$PACKAGE-$VERSION/_pkg 1.24 + 1.25 +} 1.26 + 1.27 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.28 +genpkg_rules() 1.29 +{ 1.30 + mkdir -p $fs/usr/lib 1.31 + cp -a $_pkg/usr/lib/python* $fs/usr/lib 1.32 +}