wok annotate xorg-setxkbmap/receipt @ rev 8209

imported patch toolchain/perl.patch
author Antoine Bodin <gokhlayeh@slitaz.org>
date Thu Jan 27 00:20:50 2011 +0100 (2011-01-27)
parents 07ae722ec64e
children b89e10c7d14f
rev   line source
pascal@1613 1 # SliTaz package receipt.
pascal@1613 2
pascal@1613 3 PACKAGE="xorg-setxkbmap"
gokhlayeh@6993 4 VERSION="1.2.0"
pascal@1613 5 CATEGORY="x-window"
pascal@1613 6 SHORT_DESC="Set the keyboard using the X Keyboard Extension."
pascal@1613 7 MAINTAINER="pascal.bellard@slitaz.org"
slaxemulator@8029 8 DEPENDS="xorg-xkeyboard-config"
pascal@1613 9 SOURCE="setxkbmap"
gokhlayeh@6993 10 TARBALL="$SOURCE-$VERSION.tar.bz2"
pascal@1613 11 WEB_SITE="http://www.x.org/"
pascal@1613 12 WGET_URL="$XORG_MIRROR/app/$TARBALL"
pascal@1613 13
pascal@1613 14 # Rules to configure and make the package.
pascal@1613 15 compile_rules()
pascal@1613 16 {
pascal@1613 17 cd $src
pascal@1613 18 ./configure --prefix=/usr --sysconfdir=/etc \
pascal@1613 19 --mandir=/usr/share/man --localstatedir=/var \
pascal@1613 20 $CONFIGURE_ARGS &&
pascal@1613 21 make &&
pascal@1613 22 make DESTDIR=$PWD/_pkg install
pascal@1613 23 }
pascal@1613 24
pascal@1613 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1613 26 genpkg_rules()
pascal@1613 27 {
pascal@1613 28 mkdir -p $fs/usr
pascal@1613 29 cp -a $_pkg/usr/bin $fs/usr
pascal@1613 30 }
pascal@1613 31