# HG changeset patch # User Rohit Joshi # Date 1240321062 0 # Node ID a313a0ccd48f26c66b9bf84a25781fda46228fa9 # Parent fce1c4d0d9c756454cfb2b3c5f75b6fe75ceee15 Add python-based feedparser diff -r fce1c4d0d9c7 -r a313a0ccd48f feedparser/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/feedparser/receipt Tue Apr 21 13:37:42 2009 +0000 @@ -0,0 +1,29 @@ +# SliTaz package receipt. + +PACKAGE="feedparser" +VERSION="4.1" +CATEGORY="misc" +SHORT_DESC="Parse RSS and Atom feeds in Python" +MAINTAINER="jozee@slitaz.org" +DEPENDS="libxml2 python" +BUILD_DEPENDS="libxml2-dev python-dev" +TARBALL="$PACKAGE-$VERSION.zip" +WEB_SITE="http://feedparser.sf.net" +WGET_URL="http://downloads.sourceforge.net/$PACKAGE/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + + cd $src + python setup.py build + python setup.py install --root=$PWD/$PACKAGE-$VERSION/_pkg + +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $_pkg/usr/lib/python* $fs/usr/lib +}