wok-next annotate xorg-xf86-video-intel/receipt @ rev 12432
encfs: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 21 17:27:16 2012 +0200 (2012-04-21) |
parents | 8131542f626c |
children | 6971e86f8875 |
rev | line source |
---|---|
pankso@1039 | 1 # SliTaz package receipt. |
pankso@1039 | 2 |
pankso@1039 | 3 PACKAGE="xorg-xf86-video-intel" |
slaxemulator@10236 | 4 VERSION="2.15.0" |
pankso@1039 | 5 CATEGORY="x-window" |
pankso@3016 | 6 SHORT_DESC="Xorg server Intel driver." |
pankso@1039 | 7 MAINTAINER="pankso@slitaz.org" |
slaxemulator@8355 | 8 DEPENDS="xorg-server xorg-libXvMC mesa-dri-intel xcb-util" |
slaxemulator@8355 | 9 BUILD_DEPENDS="xorg-server-dev xorg-libXvMC-dev xcb-util-dev" |
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/ |
slaxemulator@10236 | 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 |