wok view xorg-xf86-video-intel/receipt @ rev 7388

flam3: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 26 10:58:15 2010 +0100 (2010-11-26)
parents 2f0a92e1d187
children c514cc4854d8
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-xf86-video-intel"
4 VERSION="2.13.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Xorg server Intel driver."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="xorg xorg-server xorg-libXv xorg-libpciaccess xorg-libXvMC mesa-dri-intel linux-agp"
9 BUILD_DEPENDS="xorg-server-dev mesa mesa-dev xorg-libXvMC-dev xorg-libXvMC xorg-libpciaccess xorg-libpciaccess-dev libxcb-dev xcb-util-dev xcb-util xcb-proto xorg-libXv-dev pkg-config"
10 SOURCE="xf86-video-intel"
11 TARBALL="$SOURCE-$VERSION.tar.bz2"
12 WEB_SITE="http://www.x.org/"
13 WGET_URL="$XORG_MIRROR/driver/$TARBALL"
14 TAGS="xorg display"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --prefix=/usr \
22 --sysconfdir=/etc \
23 --mandir=/usr/share/man \
24 --localstatedir=/var \
25 --with-xorg-module-dir=/usr/lib/X11/modules \
26 --enable-dri \
27 --enable-xvmc \
28 $CONFIGURE_ARGS &&
29 make &&
30 make DESTDIR=$PWD/_pkg install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib/X11/modules/drivers/
37 cp -a $_pkg/usr/lib/X11/modules/drivers/*.so \
38 $fs/usr/lib/X11/modules/drivers/
39 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
40 }