wok-6.x view binclock/receipt @ rev 18642
Up tazpkg(878)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Nov 30 02:28:21 2015 +0200 (2015-11-30) |
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 }