wok-6.x view svkbd/receipt @ rev 24130

Add tnylpo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Oct 18 14:47:15 2021 +0000 (2021-10-18)
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 }