# HG changeset patch # User Christophe Lincoln # Date 1239797050 -7200 # Node ID de989225f5ab1a1e3cfd234b8d71af7bf6852b93 # Parent 9019db02cde3a4b19f190b4f1dffd7dfd30e837a Add xorg-xf86-video-mga driver for matrox cards diff -r 9019db02cde3 -r de989225f5ab xorg-xf86-video-mga/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/xorg-xf86-video-mga/receipt Wed Apr 15 14:04:10 2009 +0200 @@ -0,0 +1,36 @@ +# SliTaz package receipt. + +PACKAGE="xorg-xf86-video-mga" +VERSION="1.4.6.1" +CATEGORY="x-window" +SHORT_DESC="Xorg driver for Matrox cards." +MAINTAINER="keupont@no-log.org" +DEPENDS="xorg xorg-server" +BUILD_DEPENDS="xorg-server-dev" +SOURCE="xf86-video-mga" +TARBALL="$SOURCE-$VERSION.tar.gz" +WEB_SITE="http://www.x.org/" +WGET_URL="$XORG_MIRROR/driver/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ + --with-xorg-module-dir=/usr/lib/X11/modules \ + $CONFIGURE_ARGS && + make && + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib/X11/modules/drivers/ + cp -a $_pkg/usr/lib/X11/modules/drivers/*.so \ + $fs/usr/lib/X11/modules/drivers/ +}