wok-current view kbd/receipt @ rev 6940
Up: slitaz-mercurial-style (2.1) with correct logo
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Oct 24 22:52:43 2010 +0200 (2010-10-24) |
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 }