wok annotate xorg-xf86-video-intel/receipt @ rev 7388
flam3: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 26 10:58:15 2010 +0100 (2010-11-26) |
parents | 2f0a92e1d187 |
children | c514cc4854d8 |
rev | line source |
---|---|
pankso@1039 | 1 # SliTaz package receipt. |
pankso@1039 | 2 |
pankso@1039 | 3 PACKAGE="xorg-xf86-video-intel" |
slaxemulator@6733 | 4 VERSION="2.13.0" |
pankso@1039 | 5 CATEGORY="x-window" |
pankso@3016 | 6 SHORT_DESC="Xorg server Intel driver." |
pankso@1039 | 7 MAINTAINER="pankso@slitaz.org" |
gokhlayeh@6993 | 8 DEPENDS="xorg xorg-server xorg-libXv xorg-libpciaccess xorg-libXvMC mesa-dri-intel linux-agp" |
slaxemulator@6733 | 9 BUILD_DEPENDS="xorg-server-dev mesa mesa-dev xorg-libXvMC-dev xorg-libXvMC xorg-libpciaccess xorg-libpciaccess-dev libxcb-dev xcb-util-dev xcb-util xcb-proto xorg-libXv-dev pkg-config" |
pankso@1039 | 10 SOURCE="xf86-video-intel" |
gokhlayeh@6993 | 11 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pankso@1039 | 12 WEB_SITE="http://www.x.org/" |
pankso@1039 | 13 WGET_URL="$XORG_MIRROR/driver/$TARBALL" |
jozee@5592 | 14 TAGS="xorg display" |
pankso@1039 | 15 |
pankso@1039 | 16 # Rules to configure and make the package. |
pankso@1039 | 17 compile_rules() |
pankso@1039 | 18 { |
pankso@1039 | 19 cd $src |
pankso@1039 | 20 ./configure \ |
pankso@1039 | 21 --prefix=/usr \ |
pankso@1039 | 22 --sysconfdir=/etc \ |
pankso@1039 | 23 --mandir=/usr/share/man \ |
pankso@1039 | 24 --localstatedir=/var \ |
pankso@1039 | 25 --with-xorg-module-dir=/usr/lib/X11/modules \ |
jozee@5589 | 26 --enable-dri \ |
jozee@5589 | 27 --enable-xvmc \ |
jozee@5589 | 28 $CONFIGURE_ARGS && |
jozee@5589 | 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/ |
jozee@5589 | 39 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@1039 | 40 } |
pankso@1039 | 41 |