wok-6.x view xorg-libXau/receipt @ rev 10839

pingus: clean receipt and fix compile_rules so it dont build if broken
author Christophe Lincoln <pankso@slitaz.org>
date Wed Jun 08 23:38:19 2011 +0200 (2011-06-08)
parents 07ae722ec64e
children acc4fd73960f
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-libXau"
4 VERSION="1.0.6"
5 CATEGORY="x-window"
6 SHORT_DESC="Xorg authorization routines."
7 MAINTAINER="pankso@slitaz.org"
8 SOURCE="libXau"
9 TARBALL="$SOURCE-$VERSION.tar.bz2"
10 BUILD_DEPENDS="pkg-config xorg-xproto"
11 WEB_SITE="http://www.x.org/"
12 WGET_URL="$XORG_MIRROR/lib/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr --sysconfdir=/etc \
20 --mandir=/usr/share/man --localstatedir=/var \
21 $CONFIGURE_ARGS
22 make
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
31 }