wok-current annotate xorg-xf86-video-ati/receipt @ rev 5588
xorg-xf86-video-ati: enable-dri; improve receipt for multimedia modules
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Mon May 17 07:35:08 2010 -0400 (2010-05-17) |
parents | 5b6b81ccd958 |
children | be313e2832de |
rev | line source |
---|---|
pankso@447 | 1 # SliTaz package receipt. |
pankso@447 | 2 |
pankso@447 | 3 PACKAGE="xorg-xf86-video-ati" |
pankso@5304 | 4 VERSION="6.13.0" |
pankso@447 | 5 CATEGORY="x-window" |
pankso@3016 | 6 SHORT_DESC="Xorg server ATI driver." |
pankso@447 | 7 MAINTAINER="pankso@slitaz.org" |
jozee@5588 | 8 DEPENDS="xorg xorg-server mesa-dri-ati xorg-libpciaccess" |
jozee@5588 | 9 BUILD_DEPENDS="xorg-server xorg-xproto xorg-fontsproto xorg-server-dev xorg-libpciaccess-dev mesa mesa-dev" |
pankso@447 | 10 SOURCE="xf86-video-ati" |
pankso@447 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
pankso@447 | 12 WEB_SITE="http://www.x.org/" |
pankso@447 | 13 WGET_URL="$XORG_MIRROR/driver/$TARBALL" |
pankso@447 | 14 |
pankso@447 | 15 # Rules to configure and make the package. |
pankso@447 | 16 compile_rules() |
pankso@447 | 17 { |
pankso@447 | 18 cd $src |
pankso@447 | 19 ./configure \ |
pankso@447 | 20 --prefix=/usr \ |
pankso@447 | 21 --sysconfdir=/etc \ |
pankso@447 | 22 --mandir=/usr/share/man \ |
pankso@447 | 23 --localstatedir=/var \ |
pankso@447 | 24 --with-xorg-module-dir=/usr/lib/X11/modules \ |
jozee@5588 | 25 --enable-dri \ |
pascal@1480 | 26 $CONFIGURE_ARGS && |
pascal@1480 | 27 make && |
pankso@447 | 28 make DESTDIR=$PWD/_pkg install |
pankso@447 | 29 } |
pankso@447 | 30 |
pankso@447 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@447 | 32 genpkg_rules() |
pankso@447 | 33 { |
jozee@5588 | 34 mkdir -p $fs/usr/lib/X11/modules/drivers/ \ |
jozee@5588 | 35 $fs/usr/lib/X11/modules/multimedia/ |
pankso@447 | 36 cp -a $_pkg/usr/lib/X11/modules/drivers/*.so \ |
pankso@447 | 37 $fs/usr/lib/X11/modules/drivers/ |
jozee@5588 | 38 cp -a $_pkg/usr/lib/X11/modules/multimedia/*.so \ |
jozee@5588 | 39 $fs/usr/lib/X11/modules/multimedia/ |
jozee@5588 | 40 |
pankso@447 | 41 } |
pankso@447 | 42 |