wok-6.x view xorg-libXtst/receipt @ rev 9320
superswitcher: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 18 09:52:56 2011 +0100 (2011-03-18) |
parents | 534785f3a4e5 |
children | e5ae411e1d8c |
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-libXtst"
4 VERSION="1.2.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Xorg server module."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="xorg-libXext xorg-libXi"
9 BUILD_DEPENDS="xorg-recordproto xorg-libXext-dev xorg-libXi-dev"
10 SOURCE="libXtst"
11 TARBALL="$SOURCE-$VERSION.tar.bz2"
12 WEB_SITE="http://www.x.org/"
13 WGET_URL="$XORG_MIRROR/lib/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure --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 strip -s $fs/usr/lib/*
32 }