wok annotate kbd/receipt @ rev 7149
Up: gnome-mplayer to 1.0.0.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Nov 06 18:47:28 2010 +0000 (2010-11-06) |
parents | 952f6a49c94c |
children | 516471adc8f2 |
rev | line source |
---|---|
pankso@708 | 1 # SliTaz package receipt. |
pankso@708 | 2 |
pankso@708 | 3 PACKAGE="kbd" |
pankso@708 | 4 VERSION="1.12" |
pankso@708 | 5 CATEGORY="system-tools" |
pankso@708 | 6 SHORT_DESC="Keyboard maping definitions and tools." |
pankso@708 | 7 BUILD_DEPENDS="bison" |
pankso@708 | 8 MAINTAINER="pankso@slitaz.org" |
pankso@708 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@708 | 10 WEB_SITE="http://www.kernel.org/pub/linux/utils/kbd/" |
pankso@708 | 11 WGET_URL="http://www.kernel.org/pub/linux/utils/kbd/$TARBALL" |
jozee@4942 | 12 TAGS="keyboard" |
pankso@708 | 13 |
pankso@708 | 14 # Rules to configure and make the package. |
pankso@708 | 15 compile_rules() |
pankso@708 | 16 { |
pankso@708 | 17 cd $src |
pankso@708 | 18 ./configure \ |
pankso@708 | 19 --prefix=/usr \ |
pankso@708 | 20 --mandir=/usr/share/man |
pankso@708 | 21 make |
pankso@708 | 22 make DESTDIR=$PWD/_pkg install |
pankso@708 | 23 } |
pankso@708 | 24 |
pankso@708 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@708 | 26 genpkg_rules() |
pankso@708 | 27 { |
pankso@708 | 28 mkdir -p $fs/usr/share |
pankso@708 | 29 |
pankso@708 | 30 # Copy all kbd files (should we split fonts ?) and remove the one |
pankso@708 | 31 # provided by: kbd-base. |
pankso@708 | 32 cp -a $_pkg/usr/share/kbd $fs/usr/share |
pankso@708 | 33 rm -rf $fs/usr/share/kbd/keymaps/i386 |
pankso@708 | 34 |
pankso@708 | 35 # Tools |
pankso@708 | 36 cp -a $_pkg/usr/bin $fs/usr |
pankso@708 | 37 } |
pankso@708 | 38 |