wok annotate 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
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@4000 8 DEPENDS=""
pascal@4000 9 BUILD_DEPENDS="xorg-imake xorg-cf-files xorg-libXt-dev xorg-libX11-dev \
pascal@4000 10 xorg-xproto xorg-libSM-dev xorg-libXaw-dev xorg-libICE-dev xorg-libXp-dev \
pascal@4000 11 xorg-libXtst-dev xorg-xextproto xorg-inputproto xorg-libXmu-dev"
pascal@4000 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@4000 13 WEB_SITE="http://homepage3.nifty.com/tsato/xvkbd/"
pascal@4000 14 WGET_URL="${WEB_SITE}$TARBALL"
pascal@4000 15
pascal@4000 16 # Rules to configure and make the package.
pascal@4000 17 compile_rules()
pascal@4000 18 {
pascal@4000 19 cd $src
pascal@4000 20
pascal@4000 21 # remove Xaw3d
pascal@4000 22 sed -i '/#define XAW3D/d' Imakefile
pascal@4000 23 xmkmf &&
pascal@4000 24 make DESTDIR=$PWD/_pkg install
pascal@4000 25 }
pascal@4000 26
pascal@4000 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@4000 28 genpkg_rules()
pascal@4000 29 {
pascal@4000 30 mkdir -p $fs/usr/lib $fs/etc/X11
pascal@4000 31 cp -a $_pkg/usr/bin $fs/usr
pascal@4000 32 cp -a $_pkg/usr/lib/* $fs/usr/lib
pascal@4000 33 cp -a $_pkg/etc/X11/* $fs/etc/X11
pascal@4000 34 # Add .desktop file
pascal@4000 35 cp -a stuff/* $fs
pascal@4000 36 }
pascal@4000 37
pascal@4000 38 post_install()
pascal@4000 39 {
pascal@4000 40 # .Xdefaults file
pascal@4000 41 cat >> /home/tux/.Xdefaults << EOT
pascal@4000 42
pascal@4000 43 ! xvkbd settings
pascal@4000 44 !
pascal@4000 45 xvkbd*Font: -misc-fixed-medium-r-semicondensed--0-0-75-75-c-0-iso8859-1
pascal@4000 46 EOT
pascal@4000 47 }
pascal@4000 48