wok-next view svkbd/receipt @ rev 21041
Follow HTTP redirections for homepages
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 09 13:21:03 2018 +0200 (2018-11-09) |
parents | d5aab818505e |
children | 5669e8b3be70 |
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="xorg-libX11-dev xorg-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="xorg-libX11 xorg-libXtst"
38 }