wok view binclock/receipt @ rev 20374

Add xorg-xf86-video-modesetting
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jun 12 13:38:11 2018 +0200 (2018-06-12)
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 }