wok-current annotate xorg-xf86-video-intel/receipt @ rev 5069

improve nvidia receipt; update DEPENDS
author Rohit Joshi <jozee@slitaz.org>
date Fri Mar 12 11:26:56 2010 +0000 (2010-03-12)
parents 086916aa96e8
children c86710039a5f
rev   line source
pankso@1039 1 # SliTaz package receipt.
pankso@1039 2
pankso@1039 3 PACKAGE="xorg-xf86-video-intel"
pankso@3016 4 VERSION="2.7.0"
pankso@1039 5 CATEGORY="x-window"
pankso@3016 6 SHORT_DESC="Xorg server Intel driver."
pankso@1039 7 MAINTAINER="pankso@slitaz.org"
pankso@4422 8 DEPENDS="xorg xorg-server xorg-libXv xorg-libXvMC libdrm mesa-dri-intel"
pankso@3016 9 BUILD_DEPENDS="xorg-server-dev"
pankso@1039 10 SOURCE="xf86-video-intel"
pankso@1039 11 TARBALL="$SOURCE-$VERSION.tar.gz"
pankso@1039 12 WEB_SITE="http://www.x.org/"
pankso@1039 13 WGET_URL="$XORG_MIRROR/driver/$TARBALL"
pankso@1039 14
pankso@3016 15 # Note: Here we use the last Intel driver, since the one released with
pankso@3016 16 # Xorg 7.4 dont build with dri support.
pankso@3016 17
pankso@1039 18 # Rules to configure and make the package.
pankso@1039 19 compile_rules()
pankso@1039 20 {
pankso@1039 21 cd $src
pankso@1039 22 ./configure \
pankso@1039 23 --prefix=/usr \
pankso@1039 24 --sysconfdir=/etc \
pankso@1039 25 --mandir=/usr/share/man \
pankso@1039 26 --localstatedir=/var \
pankso@1039 27 --with-xorg-module-dir=/usr/lib/X11/modules \
pankso@1039 28 $CONFIGURE_ARGS
pankso@1039 29 make
pankso@1039 30 make DESTDIR=$PWD/_pkg install
pankso@1039 31 }
pankso@1039 32
pankso@1039 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@1039 34 genpkg_rules()
pankso@1039 35 {
pankso@1039 36 mkdir -p $fs/usr/lib/X11/modules/drivers/
pankso@1039 37 cp -a $_pkg/usr/lib/X11/modules/drivers/*.so \
pankso@1039 38 $fs/usr/lib/X11/modules/drivers/
pankso@3016 39 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@1039 40 }
pankso@1039 41