wok-next annotate feedparser/receipt @ rev 19066

It works, but needs review and improvement. Thank you.
author Leonardo Laporte <hackdorte@sapo.pt>
date Thu Apr 21 06:32:59 2016 -0300 (2016-04-21)
parents 3b4e4318134e
children 6c73b944e8dd
rev   line source
jozee@2679 1 # SliTaz package receipt.
jozee@2679 2
jozee@2679 3 PACKAGE="feedparser"
claudinei@14858 4 VERSION="5.1.3"
jozee@2679 5 CATEGORY="misc"
jozee@2679 6 SHORT_DESC="Parse RSS and Atom feeds in Python"
jozee@2679 7 MAINTAINER="jozee@slitaz.org"
pascal@15593 8 LICENSE="MIT"
slaxemulator@11106 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
al@18077 10 WEB_SITE="http://feedparser.sf.net"
slaxemulator@11106 11 WGET_URL="http://feedparser.googlecode.com/files/$TARBALL"
jozee@2679 12
pascal@15593 13 DEPENDS="libxml2 python"
pascal@15593 14 BUILD_DEPENDS="libxml2-dev python-dev setuptools"
pascal@15593 15
jozee@2679 16 # Rules to configure and make the package.
jozee@2679 17 compile_rules()
jozee@2679 18 {
slaxemulator@11106 19 python setup.py install --root=$DESTDIR
jozee@2679 20 }
jozee@2679 21
jozee@2679 22 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@2679 23 genpkg_rules()
jozee@2679 24 {
jozee@2679 25 mkdir -p $fs/usr/lib
al@18077 26 cp -a $install/usr/lib/python* $fs/usr/lib
jozee@2679 27 }