wok-next annotate xorg-setxkbmap/receipt @ rev 2549
apache-dev, apache-doc, apr-util-dev: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 26 11:06:18 2009 +0000 (2009-03-26) |
parents | fd43687faffa |
children | 3f4b9d12cfc3 |
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@2416 | 8 DEPENDS="xorg xorg-libX11 xorg-xkeyboard-config xorg-libxkbfile" |
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 |