wok-current annotate xorg-xf86-video-ati/receipt @ rev 10002
tazdrop: fix version (use slitaz-tools one)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu May 19 01:36:49 2011 +0200 (2011-05-19) |
parents | b59af9648acd |
children | 6971e86f8875 |
rev | line source |
---|---|
pankso@447 | 1 # SliTaz package receipt. |
pankso@447 | 2 |
pankso@447 | 3 PACKAGE="xorg-xf86-video-ati" |
slaxemulator@9368 | 4 VERSION="6.14.1" |
pankso@447 | 5 CATEGORY="x-window" |
pankso@3016 | 6 SHORT_DESC="Xorg server ATI driver." |
pankso@447 | 7 MAINTAINER="pankso@slitaz.org" |
slaxemulator@8029 | 8 DEPENDS="xorg-server mesa-dri-ati" |
slaxemulator@8029 | 9 BUILD_DEPENDS="xorg-server-dev" |
pankso@447 | 10 SOURCE="xf86-video-ati" |
gokhlayeh@6993 | 11 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pankso@447 | 12 WEB_SITE="http://www.x.org/" |
slaxemulator@8388 | 13 #WGET_URL="$XORG_MIRROR/driver/$TARBALL" |
slaxemulator@8388 | 14 WGET_URL="http://xorg.freedesktop.org/releases/individual/driver/$TARBALL" |
jozee@5592 | 15 TAGS="xorg display" |
pankso@447 | 16 |
pankso@447 | 17 # Rules to configure and make the package. |
pankso@447 | 18 compile_rules() |
pankso@447 | 19 { |
pankso@447 | 20 cd $src |
pankso@447 | 21 ./configure \ |
pankso@447 | 22 --prefix=/usr \ |
pankso@447 | 23 --sysconfdir=/etc \ |
pankso@447 | 24 --mandir=/usr/share/man \ |
pankso@447 | 25 --localstatedir=/var \ |
pankso@447 | 26 --with-xorg-module-dir=/usr/lib/X11/modules \ |
jozee@5588 | 27 --enable-dri \ |
pascal@1480 | 28 $CONFIGURE_ARGS && |
pascal@1480 | 29 make && |
pankso@447 | 30 make DESTDIR=$PWD/_pkg install |
pankso@447 | 31 } |
pankso@447 | 32 |
pankso@447 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@447 | 34 genpkg_rules() |
pankso@447 | 35 { |
jozee@5588 | 36 mkdir -p $fs/usr/lib/X11/modules/drivers/ \ |
jozee@5588 | 37 $fs/usr/lib/X11/modules/multimedia/ |
pankso@447 | 38 cp -a $_pkg/usr/lib/X11/modules/drivers/*.so \ |
pankso@447 | 39 $fs/usr/lib/X11/modules/drivers/ |
jozee@5588 | 40 cp -a $_pkg/usr/lib/X11/modules/multimedia/*.so \ |
jozee@5588 | 41 $fs/usr/lib/X11/modules/multimedia/ |
jozee@5588 | 42 |
pankso@447 | 43 } |
pankso@447 | 44 |