wok rev 1131

Add: xorg driver for Neomagic cards
author Dominique Corbex <domcox@users.sourceforge.net>
date Wed Jul 23 18:48:12 2008 +0200 (2008-07-23)
parents 09d1e6a18156
children c56a51e96041
files xorg-xf86-video-neomagic/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/xorg-xf86-video-neomagic/receipt	Wed Jul 23 18:48:12 2008 +0200
     1.3 @@ -0,0 +1,38 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="xorg-xf86-video-neomagic"
     1.7 +VERSION="1.2.1"
     1.8 +CATEGORY="x-window"
     1.9 +SHORT_DESC="Xorg driver for neomagic cards"
    1.10 +MAINTAINER="domcox@users.sourceforge.net"
    1.11 +DEPENDS="xorg xorg-server"
    1.12 +BUILD_DEPENDS="xorg-server-dev xorg-fontsproto xorg-randrproto xorg-videoproto xorg-xextproto xorg-xf86dgaproto"
    1.13 +SOURCE="xf86-video-neomagic"
    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 +
    1.40 +}
    1.41 +