wok view xvkbd/receipt @ rev 5212
glibc-dev: remove bloted deps (fontconfig, libgd)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Apr 04 12:06:21 2010 +0200 (2010-04-04) |
parents | c3717fb08cbd |
children | 1c83aa8ebdfb |
line source
1 # SliTaz package receipt.
3 PACKAGE="xvkbd"
4 VERSION="3.1"
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 $fs/etc
33 cp -a $_pkg/usr/bin $fs/usr
34 cp -a $_pkg/usr/lib $fs/usr
35 cp -a $_pkg/etc/X11 $fs/etc
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 }