wok-4.x annotate xorg-setxkbmap/receipt @ rev 12389

Using source instead of precompiled binaries
author Brenton Scott <admin@trixarian.net>
date Mon May 27 15:19:02 2013 +0200 (2013-05-27)
parents b89e10c7d14f
children
rev   line source
pascal@1613 1 # SliTaz package receipt.
pascal@1613 2
pascal@1613 3 PACKAGE="xorg-setxkbmap"
slaxemulator@9201 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