wok-6.x view binclock/receipt @ rev 20088

Up slitaz-configs (312), tazinst (90), tazlito (464)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 29 16:02:41 2017 +0200 (2017-09-29)
parents
children 3105f866bc3e
line source
1 # SliTaz package receipt.
3 PACKAGE="binclock"
4 VERSION="0.3.2-1"
5 CATEGORY="utilities"
6 SHORT_DESC="Fullscreen console binary clock."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="GPL2"
9 DEPENDS="ncurses python"
10 BUILD_DEPENDS="ncurses-dev python-dev"
11 TARBALL="${PACKAGE}_${VERSION}.tar.gz"
12 WEB_SITE="http://binclock.sourceforge.net/"
13 WGET_URL="http://prdownloads.sourceforge.net/binclock/$TARBALL"
15 # No rules to configure and make the package.
17 # Rules to gen a SliTaz package suitable for Tazpkg.
18 genpkg_rules()
19 {
20 mkdir -p $fs/usr/bin
21 # hack for /usr/bin/python
22 sed -i 's/python2/python/g' $src/binclock.py
23 cp -a $src/binclock.py $fs/usr/bin/binclock
24 chown root:root $fs/usr/bin/binclock
25 }