wok-next view svkbd/receipt @ rev 20674
Up putty (0.70)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat May 12 05:17:48 2018 +0300 (2018-05-12) |
parents | 0abbdf485a8d |
children | d5aab818505e |
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 COOKOPTS="!menus"
13 TARBALL="$PACKAGE-$VERSION.tar.bz2"
14 WGET_URL="http://git.suckless.org/svkbd/snapshot/svkbd-$GITHASH.tar.bz2"
16 BUILD_DEPENDS="xorg-libX11-dev xorg-libXtst-dev"
17 SPLIT="svkbd-de svkbd-fr svkbd-ru"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cp -d $stuff/*.h .
23 for layout in de en ru fr; do
24 make svkbd-$layout CC=$HOST_SYSTEM-gcc || return 1
25 done
26 # We may need to sed config.def.h to set correct font for RU ???
27 #make svkbd-ru CC=${HOST_SYSTEM}-gcc
28 make install DESTDIR=$DESTDIR PREFIX="/usr"
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 case $PACKAGE in
35 svkbd) copy svkbd-en*;;
36 svkbd-de) copy svkbd-de*; CAT="x-window|DE Layout";;
37 svkbd-fr) copy svkbd-fr*; CAT="x-window|FR Layout";;
38 svkbd-ru) copy svkbd-ru*; CAT="x-window|RU Layout";;
39 esac
40 DEPENDS="xorg-libX11 xorg-libXtst"
41 }