wok view kbd/receipt @ rev 4942

add/improve TAGS k* receipts
author Rohit Joshi <jozee@slitaz.org>
date Tue Feb 16 15:48:54 2010 +0000 (2010-02-16)
parents 952f6a49c94c
children 516471adc8f2
line source
1 # SliTaz package receipt.
3 PACKAGE="kbd"
4 VERSION="1.12"
5 CATEGORY="system-tools"
6 SHORT_DESC="Keyboard maping definitions and tools."
7 BUILD_DEPENDS="bison"
8 MAINTAINER="pankso@slitaz.org"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.kernel.org/pub/linux/utils/kbd/"
11 WGET_URL="http://www.kernel.org/pub/linux/utils/kbd/$TARBALL"
12 TAGS="keyboard"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --mandir=/usr/share/man
21 make
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/share
30 # Copy all kbd files (should we split fonts ?) and remove the one
31 # provided by: kbd-base.
32 cp -a $_pkg/usr/share/kbd $fs/usr/share
33 rm -rf $fs/usr/share/kbd/keymaps/i386
35 # Tools
36 cp -a $_pkg/usr/bin $fs/usr
37 }