wok-6.x annotate pyhn/receipt @ rev 19661
Up openssl (1.0.2k)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Jan 28 13:51:03 2017 +0200 (2017-01-28) |
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 |