wok view xvkbd/receipt @ rev 14225

freetype*: up 2.4.11; fontconfig*: up 2.10.91; add freetype-infinality* and fontconfig-infinality; gobject-introspection: up 1.32.1; gtk+3*: up 3.4.4; add gtk3-engine-solidity, gtk3-engine-unico; pixman*: up 0.28.2; add libxklavier, lightdm*; slitaz-i18n: add all existing translations.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Mar 21 16:18:40 2013 +0000 (2013-03-21)
parents 11090b38aa85
children eb8067417980
line source
1 # SliTaz package receipt.
3 PACKAGE="xvkbd"
4 VERSION="3.3"
5 CATEGORY="x-window"
6 SHORT_DESC="Virtual (graphical) keyboard program for X Window System."
7 MAINTAINER="paul@slitaz.org"
8 DEPENDS="xorg-libXt xorg-libX11 xorg-xproto xorg-libSM xorg-libXaw \
9 xorg-libICE xorg-libXp xorg-libXtst xorg-libXmu xorg-libXpm xorg-libXext \
10 xorg-libXau xorg-libXdmcp xorg-libXaw3d"
11 BUILD_DEPENDS="xorg-imake xorg-cf-files xorg-libXt-dev xorg-libX11-dev \
12 xorg-xproto xorg-libSM-dev xorg-libXaw-dev xorg-libICE-dev xorg-libXp-dev \
13 xorg-libXtst-dev xorg-xextproto xorg-inputproto xorg-libXmu-dev xorg-libXaw3d-dev"
14 TARBALL="$PACKAGE-$VERSION.tar.gz"
15 WEB_SITE="http://homepage3.nifty.com/tsato/xvkbd/"
16 WGET_URL="${WEB_SITE}$TARBALL"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
23 # delete Xaw3d
24 # sed -i '/#define XAW3D/d' Imakefile
25 xmkmf &&
26 make install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr $fs/etc
33 cp -a $install/usr/bin $fs/usr
34 cp -a $install/usr/lib $fs/usr
35 cp -a $install/etc/X11 $fs/etc
36 # Add .desktop file
37 cp -a $stuff/* $fs
38 }
40 post_install()
41 {
42 # .Xdefaults file
43 lang=$(echo $LANG | awk '{FS="_"} {print $1}')
44 find /home -maxdepth 2 -name ".Xdefaults" > /tmp/listeXdefaults
45 while read line
46 do
47 if ! grep -q "Xvkbd settings" $line; then
48 cat >> $line << EOT
50 ! Xvkbd settings
51 !
52 xvkbd*Font: -misc-fixed-medium-r-semicondensed--0-0-75-75-c-0-iso8859-1
53 EOT
54 echo "xvkbd.Layout : $lang" >> $line
55 fi
56 done </tmp/listeXdefaults
57 rm -f /tmp/listeXdefaults
58 }