wok-4.x view xorg-setxkbmap/receipt @ rev 3370

Childsplay: Add post_install()
author Claudinei Pereira <claudinei@slitaz.org>
date Thu Jun 11 19:05:25 2009 +0000 (2009-06-11)
parents fd43687faffa
children 3f4b9d12cfc3
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-setxkbmap"
4 VERSION="1.0.4"
5 CATEGORY="x-window"
6 SHORT_DESC="Set the keyboard using the X Keyboard Extension."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 DEPENDS="xorg xorg-libX11 xorg-xkeyboard-config xorg-libxkbfile"
9 SOURCE="setxkbmap"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://www.x.org/"
12 WGET_URL="$XORG_MIRROR/app/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr --sysconfdir=/etc \
19 --mandir=/usr/share/man --localstatedir=/var \
20 $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $_pkg/usr/bin $fs/usr
30 }