wok-next view svkbd/receipt @ rev 21078

Update png and Xorg in dependencies.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Dec 22 04:52:35 2018 +0200 (2018-12-22)
parents d457c4e37c1b
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="svkbd"
4 GITHASH="fc267005ced2251de9e05e62e8a2b42a2712236a"
5 VERSION="${GITHASH:0:7}"
6 CATEGORY="x-window"
7 SHORT_DESC="Simple virtual keyboard that suck less"
8 MAINTAINER="devel@slitaz.org"
9 LICENSE="BSD"
10 WEB_SITE="http://tools.suckless.org/x/svkbd/"
12 COOKOPTS="!menus"
14 TARBALL="$PACKAGE-$VERSION.tar.bz2"
15 WGET_URL="http://git.suckless.org/svkbd/snapshot/svkbd-$GITHASH.tar.bz2"
17 BUILD_DEPENDS="libx11-dev libxtst-dev"
18 SPLIT="$PACKAGE-de $PACKAGE-fr $PACKAGE-ru"
20 compile_rules() {
21 cp -d $stuff/*.h .
22 for layout in de en ru fr; do
23 make svkbd-$layout CC=$HOST_SYSTEM-gcc || return 1
24 done
25 # We may need to sed config.def.h to set correct font for RU ???
26 #make svkbd-ru CC=${HOST_SYSTEM}-gcc
27 make DESTDIR=$install PREFIX="/usr" install
28 }
30 genpkg_rules() {
31 case $PACKAGE in
32 svkbd) copy svkbd-en*;;
33 svkbd-de) copy svkbd-de*; CAT="x-window|DE Layout";;
34 svkbd-fr) copy svkbd-fr*; CAT="x-window|FR Layout";;
35 svkbd-ru) copy svkbd-ru*; CAT="x-window|RU Layout";;
36 esac
37 DEPENDS="libx11 libxtst"
38 }