wok-next view xorg-libXinerama/receipt @ rev 10755

slitaz-i18n-extra: stuff is set only for rules
author Christophe Lincoln <pankso@slitaz.org>
date Mon May 30 22:14:30 2011 +0200 (2011-05-30)
parents 150d1fd28396
children 467c84f5e5df
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-libXinerama"
4 VERSION="1.1"
5 CATEGORY="x-window"
6 SHORT_DESC="Xorg server module."
7 MAINTAINER="pankso@slitaz.org"
8 SOURCE="libXinerama"
9 TARBALL="$SOURCE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.x.org/"
11 WGET_URL="$XORG_MIRROR/lib/$TARBALL"
12 CROSS="bug: can not run test program"
14 DEPENDS="xorg-libXext"
15 BUILD_DEPENDS="xorg-libXext-dev xorg-xineramaproto"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure \
22 --prefix=/usr \
23 --sysconfdir=/etc \
24 --localstatedir=/var \
25 --build=$HOST_SYSTEM \
26 --host=$HOST_SYSTEM &&
27 make && make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib
34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
35 }