wok-current view xorg-xf86-video-intel/receipt @ rev 12855
make: cross compile for ARM
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed May 23 16:27:19 2012 +0200 (2012-05-23) |
parents | 2963c1a389a4 |
children | 65ca056418e7 |
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-xf86-video-intel"
4 VERSION="2.18.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Xorg server Intel driver."
7 MAINTAINER="pankso@slitaz.org"
8 SOURCE="xf86-video-intel"
9 TARBALL="$SOURCE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.x.org/"
11 WGET_URL="$XORG_MIRROR/driver/$TARBALL"
12 TAGS="xorg display"
14 DEPENDS="xorg-server xorg-libXvMC mesa-dri-intel xcb-util libdrm libdrm-intel"
15 BUILD_DEPENDS="xorg-server-dev xorg-libXvMC-dev xcb-util-dev libdrm-dev"
17 MODS='/usr/lib/X11/modules'
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 ./configure \
24 --sysconfdir=/etc \
25 --mandir=/usr/share/man \
26 --localstatedir=/var \
27 --with-xorg-module-dir=$MODS \
28 --enable-dri \
29 --enable-xvmc \
30 $CONFIGURE_ARGS &&
31 make && make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p ${fs}${MODS}/drivers
38 cp -a ${install}${MODS}/drivers/*.so ${fs}${MODS}/drivers
39 cp -a $install/usr/lib/*.so* $fs/usr/lib
40 }