wok annotate pyhn/receipt @ rev 19400
memtest: DOS shutdown (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 03 11:26:12 2016 +0200 (2016-09-03) |
parents | |
children | 8618581aa857 |
rev | line source |
---|---|
paul@18414 | 1 # SliTaz package receipt. |
paul@18414 | 2 |
paul@18414 | 3 PACKAGE="pyhn" |
paul@18414 | 4 VERSION="26082015" |
paul@18414 | 5 CATEGORY="utilities" |
paul@18414 | 6 SHORT_DESC="Hacker news command line client." |
paul@18414 | 7 MAINTAINER="paul@slitaz.org" |
paul@18414 | 8 LICENSE="MIT" |
paul@18414 | 9 WEB_SITE="https://github.com/socketubs/pyhn" |
paul@18414 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
paul@18414 | 11 WGET_URL="git|git://github.com/socketubs/pyhn" |
paul@18414 | 12 |
paul@18414 | 13 DEPENDS="python python-urwid" |
paul@18414 | 14 BUILD_DEPENDS="python-dev python-urwid git bzip2" |
paul@18414 | 15 |
paul@18414 | 16 # Rules to configure and make the package. |
paul@18414 | 17 compile_rules() |
paul@18414 | 18 { |
paul@18414 | 19 # hack config.py |
paul@18414 | 20 cd $src/pyhn |
paul@18414 | 21 sed -i 's/__default__/tazweb __url__/; \ |
paul@18414 | 22 s/black||/light red||/' config.py |
paul@18414 | 23 |
paul@18414 | 24 cd $src |
paul@18414 | 25 python setup.py install --root=$DESTDIR |
paul@18414 | 26 } |
paul@18414 | 27 |
paul@18414 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@18414 | 29 genpkg_rules() |
paul@18414 | 30 { |
paul@18414 | 31 cp -a $install/usr $fs |
paul@18414 | 32 } |
paul@18414 | 33 |