wok annotate xvkbd/receipt @ rev 4240

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