wok-6.x annotate kbd/receipt @ rev 3294
Update: Separate out gcj in h8/300 tools for smaller package sizes
author | Matthew Sheets <rcx@zoominternet.net> |
---|---|
date | Thu Jun 04 10:46:22 2009 +0000 (2009-06-04) |
parents | |
children | 9bac91257596 |
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" |
pankso@708 | 12 |
pankso@708 | 13 # Rules to configure and make the package. |
pankso@708 | 14 compile_rules() |
pankso@708 | 15 { |
pankso@708 | 16 cd $src |
pankso@708 | 17 ./configure \ |
pankso@708 | 18 --prefix=/usr \ |
pankso@708 | 19 --mandir=/usr/share/man |
pankso@708 | 20 make |
pankso@708 | 21 make DESTDIR=$PWD/_pkg install |
pankso@708 | 22 } |
pankso@708 | 23 |
pankso@708 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@708 | 25 genpkg_rules() |
pankso@708 | 26 { |
pankso@708 | 27 mkdir -p $fs/usr/share |
pankso@708 | 28 |
pankso@708 | 29 # Copy all kbd files (should we split fonts ?) and remove the one |
pankso@708 | 30 # provided by: kbd-base. |
pankso@708 | 31 cp -a $_pkg/usr/share/kbd $fs/usr/share |
pankso@708 | 32 rm -rf $fs/usr/share/kbd/keymaps/i386 |
pankso@708 | 33 |
pankso@708 | 34 # Tools |
pankso@708 | 35 cp -a $_pkg/usr/bin $fs/usr |
pankso@708 | 36 } |
pankso@708 | 37 |