wok-6.x view xorg-libXrandr/receipt @ rev 4898

putty: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 10 10:28:33 2010 +0100 (2010-02-10)
parents 075898aaed14
children 413b0174114a
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-libXrandr"
4 VERSION="1.2.3"
5 #VERSION="1.3.0"
6 CATEGORY="x-window"
7 SHORT_DESC="Xorg server module."
8 MAINTAINER="pankso@slitaz.org"
9 SOURCE="libXrandr"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
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 }