wok-current view pyhn/receipt @ rev 24363
updated fftw and fftw-dev (3.3.8 -> 3.3.10)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 04 15:51:08 2022 +0100 (2022-02-04) |
parents | 8618581aa857 |
children | 076f424196b2 |
line source
1 # SliTaz package receipt.
3 PACKAGE="pyhn"
4 VERSION="0.3.9"
5 CATEGORY="utilities"
6 SHORT_DESC="Hacker news command line client."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://github.com/socketubs/pyhn"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="git|git://github.com/socketubs/pyhn"
13 DEPENDS="python python-urwid"
14 BUILD_DEPENDS="python-dev python-urwid git bzip2"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - $WEB_SITE 2>/dev/null | \
20 sed '/Release/!d;s|.*>Release ||;s|<.*||;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 # hack config.py
27 cd $src/pyhn
28 sed -i 's/__default__/tazweb __url__/; \
29 s/black||/light red||/' config.py
31 cd $src
32 python setup.py install --root=$DESTDIR
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 cp -a $install/usr $fs
39 }