wok-current view xvkbd/receipt @ rev 4017
Up: asunder (1.9)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Sep 03 22:42:30 2009 +0200 (2009-09-03) |
parents | e97ec0509d5c |
children | 626a5dabb66f |
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="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"
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"
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 # remove Xaw3d
24 sed -i '/#define XAW3D/d' Imakefile
25 xmkmf &&
26 make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib $fs/etc/X11
33 cp -a $_pkg/usr/bin $fs/usr
34 cp -a $_pkg/usr/lib/* $fs/usr/lib
35 cp -a $_pkg/etc/X11/* $fs/etc/X11
36 # Add .desktop file
37 cp -a stuff/* $fs
38 }
40 post_install()
41 {
42 # .Xdefaults file
43 cat >> /home/tux/.Xdefaults << EOT
45 ! xvkbd settings
46 !
47 xvkbd*Font: -misc-fixed-medium-r-semicondensed--0-0-75-75-c-0-iso8859-1
48 EOT
49 }