wok-stable rev 2626

Add xorg-xf86-video-mga driver for matrox cards
author Christophe Lincoln <pankso@slitaz.org>
date Wed Apr 15 14:04:10 2009 +0200 (2009-04-15)
parents 9019db02cde3
children c6e49dfa4f26
files xorg-xf86-video-mga/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/xorg-xf86-video-mga/receipt	Wed Apr 15 14:04:10 2009 +0200
     1.3 @@ -0,0 +1,36 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="xorg-xf86-video-mga"
     1.7 +VERSION="1.4.6.1"
     1.8 +CATEGORY="x-window"
     1.9 +SHORT_DESC="Xorg driver for Matrox cards."
    1.10 +MAINTAINER="keupont@no-log.org"
    1.11 +DEPENDS="xorg xorg-server"
    1.12 +BUILD_DEPENDS="xorg-server-dev"
    1.13 +SOURCE="xf86-video-mga"
    1.14 +TARBALL="$SOURCE-$VERSION.tar.gz"
    1.15 +WEB_SITE="http://www.x.org/"
    1.16 +WGET_URL="$XORG_MIRROR/driver/$TARBALL"
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +compile_rules()
    1.20 +{
    1.21 +    cd $src
    1.22 +    ./configure \
    1.23 +    	--prefix=/usr \
    1.24 +    	--sysconfdir=/etc \
    1.25 +    	--mandir=/usr/share/man \
    1.26 +    	--localstatedir=/var \
    1.27 +    	--with-xorg-module-dir=/usr/lib/X11/modules \
    1.28 +    	$CONFIGURE_ARGS &&
    1.29 +    make &&
    1.30 +    make DESTDIR=$PWD/_pkg install
    1.31 +}
    1.32 +
    1.33 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.34 +genpkg_rules()
    1.35 +{
    1.36 +	mkdir -p $fs/usr/lib/X11/modules/drivers/
    1.37 +    cp -a $_pkg/usr/lib/X11/modules/drivers/*.so \
    1.38 +    	$fs/usr/lib/X11/modules/drivers/
    1.39 +}