wok annotate feedparser/receipt @ rev 20214
Force host arch to i486 (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 24 15:49:51 2018 +0100 (2018-02-24) |
parents | 3b4e4318134e |
children | e3f377fbc5f0 |
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 } |