wok view svkbd/receipt @ rev 21724

updated ptxdist again (2012.03.0 -> 2019.06.0)
author Hans-G?nter Theisgen
date Wed Jun 12 15:14:06 2019 +0100 (2019-06-12)
parents fb3e7c61c4b2
children 934055de50e2
line source
1 # SliTaz package receipt.
3 PACKAGE="svkbd"
4 GITHASH="a5b40479e354ce11a1b009492da65ea562070cba"
5 VERSION="${GITHASH:0:7}"
6 CATEGORY="x-window"
7 SHORT_DESC="Simple virtual keyboard that suck less (EN Layout)."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="BSD"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://tools.suckless.org/x/svkbd/"
12 WGET_URL="http://git.suckless.org/svkbd/snapshot/svkbd-$GITHASH.tar.bz2"
13 HOST_ARCH="i486 arm"
15 DEPENDS="xorg-libX11 xorg-libXtst"
16 BUILD_DEPENDS="xorg-libX11-dev xorg-libXtst-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cp -d ${stuff}/*.h .
22 for layout in de en ru fr
23 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 mkdir -p $fs/usr/bin
35 cp -a ${install}/usr/bin/${PACKAGE}-en $fs/usr/bin
36 }