wok view kbd/receipt @ rev 1913

Add glibc-extra-samba (3): fix mkdir
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 21 23:21:46 2008 +0000 (2008-12-21)
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 }