wok-4.x annotate kbd/receipt @ rev 8621

Up: xfce4-session to 4.8.1.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Feb 14 17:52:45 2011 +0000 (2011-02-14)
parents 516471adc8f2
children 2ad34d8fdfe7
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."
gokhlayeh@8219 7 BUILD_DEPENDS="flex"
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