wok annotate binclock/receipt @ rev 21784
Update powermanga (thanks Rene Rivero)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 21 10:32:10 2019 +0200 (2019-07-21) |
parents | |
children | 3105f866bc3e |
rev | line source |
---|---|
paul@15784 | 1 # SliTaz package receipt. |
paul@15784 | 2 |
paul@15784 | 3 PACKAGE="binclock" |
paul@15784 | 4 VERSION="0.3.2-1" |
paul@15784 | 5 CATEGORY="utilities" |
paul@15784 | 6 SHORT_DESC="Fullscreen console binary clock." |
paul@15784 | 7 MAINTAINER="paul@slitaz.org" |
paul@15784 | 8 LICENSE="GPL2" |
paul@15784 | 9 DEPENDS="ncurses python" |
paul@15784 | 10 BUILD_DEPENDS="ncurses-dev python-dev" |
paul@15784 | 11 TARBALL="${PACKAGE}_${VERSION}.tar.gz" |
paul@15784 | 12 WEB_SITE="http://binclock.sourceforge.net/" |
paul@15784 | 13 WGET_URL="http://prdownloads.sourceforge.net/binclock/$TARBALL" |
paul@15784 | 14 |
paul@15784 | 15 # No rules to configure and make the package. |
paul@15784 | 16 |
paul@15784 | 17 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@15784 | 18 genpkg_rules() |
paul@15784 | 19 { |
paul@15784 | 20 mkdir -p $fs/usr/bin |
paul@15784 | 21 # hack for /usr/bin/python |
paul@15784 | 22 sed -i 's/python2/python/g' $src/binclock.py |
paul@15784 | 23 cp -a $src/binclock.py $fs/usr/bin/binclock |
paul@15784 | 24 chown root:root $fs/usr/bin/binclock |
paul@15784 | 25 } |
paul@15784 | 26 |