wok 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 | 7fc1484fc7cc |
children | c3717fb08cbd |
files | xvkbd/receipt xvkbd/stuff/usr/share/applications/xvkbd.desktop |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/xvkbd/receipt Mon Aug 31 12:49:32 2009 +0200 1.3 @@ -0,0 +1,48 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="xvkbd" 1.7 +VERSION="3.0" 1.8 +CATEGORY="x-window" 1.9 +SHORT_DESC="virtual (graphical) keyboard program for X Window System." 1.10 +MAINTAINER="paul@slitaz.org" 1.11 +DEPENDS="" 1.12 +BUILD_DEPENDS="xorg-imake xorg-cf-files xorg-libXt-dev xorg-libX11-dev \ 1.13 +xorg-xproto xorg-libSM-dev xorg-libXaw-dev xorg-libICE-dev xorg-libXp-dev \ 1.14 +xorg-libXtst-dev xorg-xextproto xorg-inputproto xorg-libXmu-dev" 1.15 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.16 +WEB_SITE="http://homepage3.nifty.com/tsato/xvkbd/" 1.17 +WGET_URL="${WEB_SITE}$TARBALL" 1.18 + 1.19 +# Rules to configure and make the package. 1.20 +compile_rules() 1.21 +{ 1.22 + cd $src 1.23 + 1.24 + # remove Xaw3d 1.25 + sed -i '/#define XAW3D/d' Imakefile 1.26 + xmkmf && 1.27 + make DESTDIR=$PWD/_pkg install 1.28 +} 1.29 + 1.30 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.31 +genpkg_rules() 1.32 +{ 1.33 + mkdir -p $fs/usr/lib $fs/etc/X11 1.34 + cp -a $_pkg/usr/bin $fs/usr 1.35 + cp -a $_pkg/usr/lib/* $fs/usr/lib 1.36 + cp -a $_pkg/etc/X11/* $fs/etc/X11 1.37 + # Add .desktop file 1.38 + cp -a stuff/* $fs 1.39 +} 1.40 + 1.41 +post_install() 1.42 +{ 1.43 + # .Xdefaults file 1.44 + cat >> /home/tux/.Xdefaults << EOT 1.45 + 1.46 +! xvkbd settings 1.47 +! 1.48 +xvkbd*Font: -misc-fixed-medium-r-semicondensed--0-0-75-75-c-0-iso8859-1 1.49 +EOT 1.50 +} 1.51 +
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/xvkbd/stuff/usr/share/applications/xvkbd.desktop Mon Aug 31 12:49:32 2009 +0200 2.3 @@ -0,0 +1,9 @@ 2.4 +[Desktop Entry] 2.5 +Encoding=UTF-8 2.6 +Name=Virtual keyboard 2.7 +GenericName=Virtual Keyboard 2.8 +Comment=Virtual Keyboard for X Window System 2.9 +Exec=xvkbd 2.10 +Icon=xvkbd.png 2.11 +Type=Application 2.12 +Categories=GTK;Utility;