wok-current view xorg-xf86-video-ati/receipt @ rev 7543

mplayer-svn:add depends
author fireflyoo <lufeng369@gmail.com>
date Tue Dec 07 23:24:12 2010 +0800 (2010-12-07)
parents 93df23918b33
children c514cc4854d8
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-xf86-video-ati"
4 VERSION="6.13.2"
5 CATEGORY="x-window"
6 SHORT_DESC="Xorg server ATI driver."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="xorg xorg-server mesa-dri-ati xorg-libpciaccess"
9 BUILD_DEPENDS="xorg-server xorg-xproto xorg-dev-proto xorg-fontsproto xorg-server-dev xorg-libpciaccess-dev mesa mesa-dev pkg-config pixman-dev libdrm-dev"
10 SOURCE="xf86-video-ati"
11 TARBALL="$SOURCE-$VERSION.tar.bz2"
12 WEB_SITE="http://www.x.org/"
13 WGET_URL="$XORG_MIRROR/driver/$TARBALL"
14 TAGS="xorg display"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --prefix=/usr \
22 --sysconfdir=/etc \
23 --mandir=/usr/share/man \
24 --localstatedir=/var \
25 --with-xorg-module-dir=/usr/lib/X11/modules \
26 --enable-dri \
27 $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$PWD/_pkg install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib/X11/modules/drivers/ \
36 $fs/usr/lib/X11/modules/multimedia/
37 cp -a $_pkg/usr/lib/X11/modules/drivers/*.so \
38 $fs/usr/lib/X11/modules/drivers/
39 cp -a $_pkg/usr/lib/X11/modules/multimedia/*.so \
40 $fs/usr/lib/X11/modules/multimedia/
42 }