wok-next view kbd/receipt @ rev 3470

Up: hplip, patch for glibc210; compress non-gz ppd files
author Rohit Joshi <jozee@slitaz.org>
date Tue Jun 16 14:48:22 2009 +0000 (2009-06-16)
parents
children 9bac91257596
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"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure \
18 --prefix=/usr \
19 --mandir=/usr/share/man
20 make
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/share
29 # Copy all kbd files (should we split fonts ?) and remove the one
30 # provided by: kbd-base.
31 cp -a $_pkg/usr/share/kbd $fs/usr/share
32 rm -rf $fs/usr/share/kbd/keymaps/i386
34 # Tools
35 cp -a $_pkg/usr/bin $fs/usr
36 }