wok-6.x diff xorg-xf86-video-r128/receipt @ rev 7897

Up: module-init-tools 1.12
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sun Jan 09 14:07:48 2011 +0100 (2011-01-09)
parents
children c514cc4854d8
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/xorg-xf86-video-r128/receipt	Sun Jan 09 14:07:48 2011 +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 +