wok-next view svkbd/receipt @ rev 20435
Up rsync (3.1.3)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Feb 21 18:10:55 2018 +0200 (2018-02-21) |
parents | fb3e7c61c4b2 |
children | c4e53a39395a |
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="pankso@slitaz.org"
9 LICENSE="BSD"
10 WEB_SITE="http://tools.suckless.org/x/svkbd"
11 HOST_ARCH="i486 arm"
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="xorg-libX11-dev xorg-libXtst-dev"
18 SPLIT="svkbd-de svkbd-fr svkbd-ru"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 cp -d $stuff/*.h .
24 for layout in de en ru fr; do
25 make svkbd-$layout CC=$HOST_SYSTEM-gcc || return 1
26 done
27 # We may need to sed config.def.h to set correct font for RU ???
28 #make svkbd-ru CC=${HOST_SYSTEM}-gcc
29 make install DESTDIR=$DESTDIR PREFIX="/usr"
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 case $PACKAGE in
36 svkbd) copy svkbd-en*;;
37 svkbd-de) copy svkbd-de*; CAT="x-window|DE Layout";;
38 svkbd-fr) copy svkbd-fr*; CAT="x-window|FR Layout";;
39 svkbd-ru) copy svkbd-ru*; CAT="x-window|RU Layout";;
40 esac
41 DEPENDS="xorg-libX11 xorg-libXtst"
42 }