wok-current view xorg-libXrandr/receipt @ rev 15602

Use DESTDIR
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Dec 05 20:42:36 2013 +0000 (2013-12-05)
parents 347dd368a084
children cf41f989b6d2
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-libXrandr"
4 VERSION="1.4.1"
5 CATEGORY="x-window"
6 SHORT_DESC="Xorg server module."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 SOURCE="libXrandr"
10 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.x.org/"
12 WGET_URL="$XORG_MIRROR/lib/$TARBALL"
13 CROSS="bug: can not run test programm"
15 DEPENDS="xorg-libXext xorg-libXrender"
16 BUILD_DEPENDS="xorg-randrproto xorg-libXext-dev xorg-libXrender-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./configure \
23 --prefix=/usr \
24 --sysconfdir=/etc \
25 --localstatedir=/var \
26 --build=$HOST_SYSTEM \
27 --host=$HOST_SYSTEM &&
28 make && make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib
35 cp -a $install/usr/lib/*.so* $fs/usr/lib
36 }