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

libIDL: can't cross compile
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 22 22:49:16 2011 +0200 (2011-05-22)
parents c514cc4854d8
children 81be183507d8
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-libXrandr"
4 VERSION="1.3.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Xorg server module."
7 MAINTAINER="pankso@slitaz.org"
8 SOURCE="libXrandr"
9 TARBALL="$SOURCE-$VERSION.tar.bz2"
10 DEPENDS="xorg-libXext xorg-libXrender"
11 BUILD_DEPENDS="xorg-randrproto"
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 \
20 --prefix=/usr --sysconfdir=/etc \
21 --mandir=/usr/share/man --localstatedir=/var \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
32 }