wok-current annotate xvkbd/receipt @ rev 5692
busybox: add modprobe -l support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 05 15:38:11 2010 +0200 (2010-06-05) |
parents | 626a5dabb66f |
children | bf6e17c8473c |
rev | line source |
---|---|
pascal@4000 | 1 # SliTaz package receipt. |
pascal@4000 | 2 |
pascal@4000 | 3 PACKAGE="xvkbd" |
paul@5584 | 4 VERSION="3.2" |
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@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 { |
paul@4837 | 32 mkdir -p $fs/usr $fs/etc |
pascal@4000 | 33 cp -a $_pkg/usr/bin $fs/usr |
paul@4837 | 34 cp -a $_pkg/usr/lib $fs/usr |
paul@4837 | 35 cp -a $_pkg/etc/X11 $fs/etc |
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 |
paul@4837 | 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 } |