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

rm rpm in for loop to save RAM (thanks Eric)
author Rohit Joshi <jozee@slitaz.org>
date Sun Feb 28 19:50:05 2010 +0000 (2010-02-28)
parents 086916aa96e8
children c86710039a5f
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-xf86-video-intel"
4 VERSION="2.7.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-libXvMC libdrm mesa-dri-intel"
9 BUILD_DEPENDS="xorg-server-dev"
10 SOURCE="xf86-video-intel"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WEB_SITE="http://www.x.org/"
13 WGET_URL="$XORG_MIRROR/driver/$TARBALL"
15 # Note: Here we use the last Intel driver, since the one released with
16 # Xorg 7.4 dont build with dri support.
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./configure \
23 --prefix=/usr \
24 --sysconfdir=/etc \
25 --mandir=/usr/share/man \
26 --localstatedir=/var \
27 --with-xorg-module-dir=/usr/lib/X11/modules \
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 }