wok annotate xvkbd/receipt @ rev 15866

linux64-*: Update all receipt
author Christophe Lincoln <pankso@slitaz.org>
date Thu Jan 30 21:56:31 2014 +0100 (2014-01-30)
parents 7b91484bb68a
children 2511abf8a53e
rev   line source
pascal@4000 1 # SliTaz package receipt.
pascal@4000 2
pascal@4000 3 PACKAGE="xvkbd"
paul@13470 4 VERSION="3.3"
pascal@4000 5 CATEGORY="x-window"
paul@4837 6 SHORT_DESC="Virtual (graphical) keyboard program for X Window System."
pascal@4000 7 MAINTAINER="paul@slitaz.org"
pascal@15579 8 LICENSE="GPL2"
pascal@15579 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@15579 10 WEB_SITE="http://homepage3.nifty.com/tsato/xvkbd/"
pascal@15579 11 WGET_URL="${WEB_SITE}$TARBALL"
pascal@15579 12
pascal@4001 13 DEPENDS="xorg-libXt xorg-libX11 xorg-xproto xorg-libSM xorg-libXaw \
pascal@4001 14 xorg-libICE xorg-libXp xorg-libXtst xorg-libXmu xorg-libXpm xorg-libXext \
paul@13938 15 xorg-libXau xorg-libXdmcp xorg-libXaw3d"
pascal@4000 16 BUILD_DEPENDS="xorg-imake xorg-cf-files xorg-libXt-dev xorg-libX11-dev \
pascal@4000 17 xorg-xproto xorg-libSM-dev xorg-libXaw-dev xorg-libICE-dev xorg-libXp-dev \
paul@13938 18 xorg-libXtst-dev xorg-xextproto xorg-inputproto xorg-libXmu-dev xorg-libXaw3d-dev"
pascal@4000 19
pascal@4000 20 # Rules to configure and make the package.
pascal@4000 21 compile_rules()
pascal@4000 22 {
pascal@4000 23 cd $src
pascal@4000 24
paul@13470 25 # delete Xaw3d
paul@13938 26 # sed -i '/#define XAW3D/d' Imakefile
pascal@4000 27 xmkmf &&
slaxemulator@9725 28 make install
pascal@4000 29 }
pascal@4000 30
pascal@4000 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@4000 32 genpkg_rules()
pascal@4000 33 {
paul@4837 34 mkdir -p $fs/usr $fs/etc
paul@13470 35 cp -a $install/usr/bin $fs/usr
paul@13470 36 cp -a $install/usr/lib $fs/usr
paul@13470 37 cp -a $install/etc/X11 $fs/etc
pascal@4000 38 # Add .desktop file
slaxemulator@9725 39 cp -a $stuff/* $fs
pascal@4000 40 }
pascal@4000 41
pascal@4000 42 post_install()
pascal@4000 43 {
pascal@4000 44 # .Xdefaults file
paul@6066 45 lang=$(echo $LANG | awk '{FS="_"} {print $1}')
paul@6066 46 find /home -maxdepth 2 -name ".Xdefaults" > /tmp/listeXdefaults
paul@6066 47 while read line
paul@6066 48 do
paul@6066 49 if ! grep -q "Xvkbd settings" $line; then
paul@6066 50 cat >> $line << EOT
pascal@4000 51
paul@4837 52 ! Xvkbd settings
pascal@4000 53 !
pascal@4000 54 xvkbd*Font: -misc-fixed-medium-r-semicondensed--0-0-75-75-c-0-iso8859-1
pascal@4000 55 EOT
paul@6066 56 echo "xvkbd.Layout : $lang" >> $line
paul@6066 57 fi
paul@6066 58 done </tmp/listeXdefaults
paul@13470 59 rm -f /tmp/listeXdefaults
pascal@4000 60 }
paul@13470 61