wok rev 7211

Add: xorg-xf86-video-r128 6.8.1
author Antoine Bodin <gokhlayeh@slitaz.org>
date Wed Nov 10 14:34:59 2010 +0100 (2010-11-10)
parents a6dee356e21f
children 022f83b2b194
files xorg-xf86-video-r128/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/xorg-xf86-video-r128/receipt	Wed Nov 10 14:34:59 2010 +0100
     1.3 @@ -0,0 +1,39 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="xorg-xf86-video-r128"
     1.7 +VERSION="6.8.1"
     1.8 +CATEGORY="x-window"
     1.9 +SHORT_DESC="Xorg server Rage128 driver."
    1.10 +MAINTAINER="gokhlayeh@slitaz.org"
    1.11 +DEPENDS="xorg xorg-server mesa-dri-ati xorg-libpciaccess"
    1.12 +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"
    1.13 +SOURCE="xf86-video-r128"
    1.14 +TARBALL="$SOURCE-$VERSION.tar.bz2"
    1.15 +WEB_SITE="http://www.x.org/"
    1.16 +WGET_URL="$XORG_MIRROR/driver/$TARBALL"
    1.17 +TAGS="xorg display"
    1.18 +
    1.19 +# Rules to configure and make the package.
    1.20 +compile_rules()
    1.21 +{
    1.22 +    cd $src
    1.23 +    ./configure \
    1.24 +    	--prefix=/usr \
    1.25 +    	--sysconfdir=/etc \
    1.26 +    	--mandir=/usr/share/man \
    1.27 +    	--localstatedir=/var \
    1.28 +    	--with-xorg-module-dir=/usr/lib/X11/modules \
    1.29 +    	--enable-dri \
    1.30 +    	$CONFIGURE_ARGS &&
    1.31 +    make &&
    1.32 +    make DESTDIR=$PWD/_pkg install
    1.33 +}
    1.34 +
    1.35 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.36 +genpkg_rules()
    1.37 +{
    1.38 +	mkdir -p $fs/usr/lib/X11/modules/drivers
    1.39 +	cp -a $_pkg/usr/lib/X11/modules/drivers/*.so \
    1.40 +		$fs/usr/lib/X11/modules/drivers/
    1.41 +}
    1.42 +