wok-6.x view svkbd/receipt @ rev 17397
Up gnutls (3.3.10) again
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Nov 27 19:09:56 2014 +0100 (2014-11-27) |
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 }