wok-next view tty-clock/receipt @ rev 19715

Fix building: pciutils, pcmanfm-legacy, arj
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat May 13 17:25:31 2017 +0300 (2017-05-13)
parents 2ac08a7d0995
children 9ab8be819003
line source
1 # SliTaz package receipt.
3 PACKAGE="tty-clock"
4 VERSION="0.1"
5 CATEGORY="utilities"
6 SHORT_DESC="Analog ncurses clock."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://github.com/xorg62/tty-clock"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="git|git://github.com/xorg62/tty-clock"
12 TAGS="clock"
14 DEPENDS="ncurses"
15 BUILD_DEPENDS="ncurses-dev git bzip2"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 for i in ncursesw5-config ncurses5-config ; do
21 bin=$(ls /usr/bin/${i/5/?} 2> /dev/null)
22 [ -n "$bin" ] && sed -i "s|$i|$(basename $bin)|" Makefile
23 done
24 make
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/bin
31 cp -a $src/$PACKAGE $fs/usr/bin
32 }