wok-next annotate xorg-setxkbmap/receipt @ rev 1613
Add xorg-setxkbmap
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Oct 19 20:39:05 2008 +0000 (2008-10-19) |
parents | |
children | 170168df8ad1 |
rev | line source |
---|---|
pascal@1613 | 1 # SliTaz package receipt. |
pascal@1613 | 2 |
pascal@1613 | 3 PACKAGE="xorg-setxkbmap" |
pascal@1613 | 4 VERSION="1.0.4" |
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" |
pascal@1613 | 8 DEPENDS="xorg xorg-libX11 xorg-xkeyboard-config" |
pascal@1613 | 9 SOURCE="setxkbmap" |
pascal@1613 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
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 |