wok-next view svkbd/receipt @ rev 21031
Random updates
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Nov 03 15:42:26 2018 +0200 (2018-11-03) |
parents | c4e53a39395a |
children | d457c4e37c1b |
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"
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="$PACKAGE-de $PACKAGE-fr $PACKAGE-ru"
19 compile_rules() {
20 cp -d $stuff/*.h .
21 for layout in de en ru fr; do
22 make svkbd-$layout CC=$HOST_SYSTEM-gcc || return 1
23 done
24 # We may need to sed config.def.h to set correct font for RU ???
25 #make svkbd-ru CC=${HOST_SYSTEM}-gcc
26 make DESTDIR=$install PREFIX="/usr" install
27 }
29 genpkg_rules() {
30 case $PACKAGE in
31 svkbd) copy svkbd-en*;;
32 svkbd-de) copy svkbd-de*; CAT="x-window|DE Layout";;
33 svkbd-fr) copy svkbd-fr*; CAT="x-window|FR Layout";;
34 svkbd-ru) copy svkbd-ru*; CAT="x-window|RU Layout";;
35 esac
36 DEPENDS="xorg-libX11 xorg-libXtst"
37 }