wok-next view xvkbd/receipt @ rev 4000

Add xvkbd (thanks paul)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Aug 31 12:49:32 2009 +0200 (2009-08-31)
parents
children c3717fb08cbd
line source
1 # SliTaz package receipt.
3 PACKAGE="xvkbd"
4 VERSION="3.0"
5 CATEGORY="x-window"
6 SHORT_DESC="virtual (graphical) keyboard program for X Window System."
7 MAINTAINER="paul@slitaz.org"
8 DEPENDS=""
9 BUILD_DEPENDS="xorg-imake xorg-cf-files xorg-libXt-dev xorg-libX11-dev \
10 xorg-xproto xorg-libSM-dev xorg-libXaw-dev xorg-libICE-dev xorg-libXp-dev \
11 xorg-libXtst-dev xorg-xextproto xorg-inputproto xorg-libXmu-dev"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WEB_SITE="http://homepage3.nifty.com/tsato/xvkbd/"
14 WGET_URL="${WEB_SITE}$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
21 # remove Xaw3d
22 sed -i '/#define XAW3D/d' Imakefile
23 xmkmf &&
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib $fs/etc/X11
31 cp -a $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/usr/lib/* $fs/usr/lib
33 cp -a $_pkg/etc/X11/* $fs/etc/X11
34 # Add .desktop file
35 cp -a stuff/* $fs
36 }
38 post_install()
39 {
40 # .Xdefaults file
41 cat >> /home/tux/.Xdefaults << EOT
43 ! xvkbd settings
44 !
45 xvkbd*Font: -misc-fixed-medium-r-semicondensed--0-0-75-75-c-0-iso8859-1
46 EOT
47 }