wok-4.x view kbd/receipt @ rev 4224

Up: subversion (1.6.5) Improvment and fixe
author Christophe Lincoln <pankso@slitaz.org>
date Thu Sep 24 14:24:29 2009 +0200 (2009-09-24)
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 }