wok view svkbd/receipt @ rev 20110

Add netsurf-sdl
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Wed Oct 11 21:14:49 2017 +0200 (2017-10-11)
parents 261ab1739100
children 6135577f4d08
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/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 }