wok view xorg-xf86-video-intel/receipt @ rev 5589
xorg-xf86-video-intel: enable-dri, enable-xvmc(default); improve receipt
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Mon May 17 07:36:10 2010 -0400 (2010-05-17) |
parents | 5b6b81ccd958 |
children | be313e2832de |
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-xf86-video-intel"
4 VERSION="2.11.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 libdrm mesa-dri-intel linux-agp linux-drm libxcb"
9 BUILD_DEPENDS="xorg-server-dev mesa mesa-dev xorg-libXvMC-dev xorg-libXvMC xorg-libpciaccess-dev libxcb-dev xcb-util-dev xcb-util xcb-proto "
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 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --sysconfdir=/etc \
22 --mandir=/usr/share/man \
23 --localstatedir=/var \
24 --with-xorg-module-dir=/usr/lib/X11/modules \
25 --enable-dri \
26 --enable-xvmc \
27 $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$PWD/_pkg install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib/X11/modules/drivers/
36 cp -a $_pkg/usr/lib/X11/modules/drivers/*.so \
37 $fs/usr/lib/X11/modules/drivers/
38 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
39 }