wok-6.x annotate xorg-xf86-video-intel/receipt @ rev 5449
linmodem-intel-536ep: fix compile_rules (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 05 14:12:43 2010 +0200 (2010-05-05) |
parents | c9f3d87f42a3 |
children | 7657081f057d |
rev | line source |
---|---|
pankso@1039 | 1 # SliTaz package receipt. |
pankso@1039 | 2 |
pankso@1039 | 3 PACKAGE="xorg-xf86-video-intel" |
pankso@5304 | 4 VERSION="2.11.0" |
pankso@1039 | 5 CATEGORY="x-window" |
pankso@3016 | 6 SHORT_DESC="Xorg server Intel driver." |
pankso@1039 | 7 MAINTAINER="pankso@slitaz.org" |
jozee@5109 | 8 DEPENDS="xorg xorg-server xorg-libXv xorg-libXvMC libdrm mesa-dri-intel linux-agp linux-drm" |
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@1039 | 15 # Rules to configure and make the package. |
pankso@1039 | 16 compile_rules() |
pankso@1039 | 17 { |
pankso@1039 | 18 cd $src |
pankso@1039 | 19 ./configure \ |
pankso@1039 | 20 --prefix=/usr \ |
pankso@1039 | 21 --sysconfdir=/etc \ |
pankso@1039 | 22 --mandir=/usr/share/man \ |
pankso@1039 | 23 --localstatedir=/var \ |
pankso@1039 | 24 --with-xorg-module-dir=/usr/lib/X11/modules \ |
pankso@1039 | 25 $CONFIGURE_ARGS |
pankso@1039 | 26 make |
pankso@1039 | 27 make DESTDIR=$PWD/_pkg install |
pankso@1039 | 28 } |
pankso@1039 | 29 |
pankso@1039 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@1039 | 31 genpkg_rules() |
pankso@1039 | 32 { |
pankso@1039 | 33 mkdir -p $fs/usr/lib/X11/modules/drivers/ |
pankso@1039 | 34 cp -a $_pkg/usr/lib/X11/modules/drivers/*.so \ |
pankso@1039 | 35 $fs/usr/lib/X11/modules/drivers/ |
pankso@5304 | 36 #cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@1039 | 37 } |
pankso@1039 | 38 |