wok-next rev 708

Add kbd (Support by default ~30 keymaps... Hello World!
author Christophe Lincoln <pankso@slitaz.org>
date Fri May 02 14:34:55 2008 +0200 (2008-05-02)
parents 4c46b6f38765
children a248289600d4
files kbd-base/receipt kbd-base/stuff/keymaps-path.list kbd/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/kbd-base/receipt	Fri May 02 14:34:55 2008 +0200
     1.3 @@ -0,0 +1,34 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="kbd-base"
     1.7 +VERSION="1.12"
     1.8 +CATEGORY="base-system"
     1.9 +SHORT_DESC="Keyboard maping definitions and loadkeys utility."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +WANTED="kbd"
    1.12 +WEB_SITE="http://www.kernel.org/pub/linux/utils/kbd/"
    1.13 +
    1.14 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.15 +genpkg_rules()
    1.16 +{
    1.17 +	mkdir -p \
    1.18 +		$fs/usr/share/kbd/keymaps/i386/azerty \
    1.19 +		$fs/usr/share/kbd/keymaps/i386/dvorak \
    1.20 +		$fs/usr/share/kbd/keymaps/i386/qwerty \
    1.21 +		$fs/usr/share/kbd/keymaps/i386/qwertz
    1.22 +		
    1.23 +	cp -a $_pkg/bin $fs
    1.24 +	
    1.25 +	# i386 keymaps only.
    1.26 +	for keymap in `cat stuff/keymaps-path.list`
    1.27 +	do
    1.28 +		cp -a $_pkg/usr/share/kbd/keymaps/i386/$keymap \
    1.29 +			$fs/usr/share/kbd/keymaps/i386/$keymap
    1.30 +	done
    1.31 +	# Include files
    1.32 +	cp -a $_pkg/usr/share/kbd/keymaps/include \
    1.33 +		$fs/usr/share/kbd/keymaps
    1.34 +	cp -a $_pkg/usr/share/kbd/keymaps/i386/include \
    1.35 +		$fs/usr/share/kbd/keymaps/i386/include
    1.36 +}
    1.37 +
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/kbd-base/stuff/keymaps-path.list	Fri May 02 14:34:55 2008 +0200
     2.3 @@ -0,0 +1,29 @@
     2.4 +azerty/be-latin1.map.gz
     2.5 +azerty/fr-latin1.map.gz
     2.6 +dvorak/dvorak.map.gz
     2.7 +dvorak/dvorak-r.map.gz
     2.8 +dvorak/dvorak-l.map.gz
     2.9 +qwerty/br-abnt2.map.gz
    2.10 +qwerty/cf.map.gz
    2.11 +qwerty/cz-lat2.map.gz
    2.12 +qwerty/dk-latin1.map.gz
    2.13 +qwerty/es.map.gz
    2.14 +qwerty/fi-latin1.map.gz
    2.15 +qwerty/it.map.gz
    2.16 +qwerty/is-latin1.map.gz
    2.17 +qwerty/jp106.map.gz
    2.18 +qwerty/nl2.map.gz
    2.19 +qwerty/no-latin1.map.gz
    2.20 +qwerty/pl2.map.gz
    2.21 +qwerty/pt-latin1.map.gz
    2.22 +qwerty/ru.map.gz
    2.23 +qwerty/se-lat6.map.gz
    2.24 +qwerty/uk.map.gz
    2.25 +qwerty/us-acentos.map.gz
    2.26 +qwerty/us.map.gz
    2.27 +qwertz/croat.map.gz
    2.28 +qwertz/de_CH-latin1.map.gz
    2.29 +qwertz/de-latin1.map.gz
    2.30 +qwertz/fr_CH-latin1.map.gz
    2.31 +qwertz/hu.map.gz
    2.32 +qwertz/sg-latin1.map.gz
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/kbd/receipt	Fri May 02 14:34:55 2008 +0200
     3.3 @@ -0,0 +1,37 @@
     3.4 +# SliTaz package receipt.
     3.5 +
     3.6 +PACKAGE="kbd"
     3.7 +VERSION="1.12"
     3.8 +CATEGORY="system-tools"
     3.9 +SHORT_DESC="Keyboard maping definitions and tools."
    3.10 +BUILD_DEPENDS="bison"
    3.11 +MAINTAINER="pankso@slitaz.org"
    3.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    3.13 +WEB_SITE="http://www.kernel.org/pub/linux/utils/kbd/"
    3.14 +WGET_URL="http://www.kernel.org/pub/linux/utils/kbd/$TARBALL"
    3.15 +
    3.16 +# Rules to configure and make the package.
    3.17 +compile_rules()
    3.18 +{
    3.19 +	cd $src
    3.20 +	./configure \
    3.21 +		--prefix=/usr \
    3.22 +		--mandir=/usr/share/man
    3.23 +	make
    3.24 +	make DESTDIR=$PWD/_pkg install
    3.25 +}
    3.26 +
    3.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
    3.28 +genpkg_rules()
    3.29 +{
    3.30 +	mkdir -p $fs/usr/share
    3.31 +	
    3.32 +	# Copy all kbd files (should we split fonts ?) and remove the one 
    3.33 +	# provided by: kbd-base.
    3.34 +	cp -a $_pkg/usr/share/kbd $fs/usr/share
    3.35 +	rm -rf $fs/usr/share/kbd/keymaps/i386
    3.36 +	
    3.37 +	# Tools
    3.38 +	cp -a $_pkg/usr/bin $fs/usr
    3.39 +}
    3.40 +