wok diff xorg-xf86-video-neomagic/receipt @ rev 12530

Up: xorg-xf86-video-* (Update all Xorg video drivers)
author Christophe Lincoln <pankso@slitaz.org>
date Wed Apr 25 10:44:52 2012 +0200 (2012-04-25)
parents c514cc4854d8
children 8387b6915400
line diff
     1.1 --- a/xorg-xf86-video-neomagic/receipt	Wed Jan 19 19:41:12 2011 +0000
     1.2 +++ b/xorg-xf86-video-neomagic/receipt	Wed Apr 25 10:44:52 2012 +0200
     1.3 @@ -1,39 +1,38 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="xorg-xf86-video-neomagic"
     1.7 -VERSION="1.2.5"
     1.8 +VERSION="1.2.6"
     1.9  CATEGORY="x-window"
    1.10  SHORT_DESC="Xorg driver for neomagic cards"
    1.11  MAINTAINER="domcox@users.sourceforge.net"
    1.12 -DEPENDS="xorg-server"
    1.13 -BUILD_DEPENDS="xorg-server-dev xorg-xf86dgaproto"
    1.14  SOURCE="xf86-video-neomagic"
    1.15  TARBALL="$SOURCE-$VERSION.tar.bz2"
    1.16  WEB_SITE="http://www.x.org"
    1.17  WGET_URL="$XORG_MIRROR/driver/$TARBALL"
    1.18  TAGS="xorg display"
    1.19  
    1.20 +DEPENDS="xorg-server"
    1.21 +BUILD_DEPENDS="xorg-server-dev xorg-xf86dgaproto"
    1.22 +
    1.23 +MODS='/usr/lib/X11/modules'
    1.24 +
    1.25  # Rules to configure and make the package.
    1.26  compile_rules()
    1.27  {
    1.28  	cd $src
    1.29  	./configure \
    1.30 -		--prefix=/usr \
    1.31  		--sysconfdir=/etc \
    1.32  		--mandir=/usr/share/man \
    1.33  		--localstatedir=/var \
    1.34 -		--with-xorg-module-dir=/usr/lib/X11/modules \
    1.35 -		$CONFIGURE_ARGS
    1.36 -	make
    1.37 -	make DESTDIR=$PWD/_pkg install
    1.38 +		--with-xorg-module-dir=$MODS \
    1.39 +		$CONFIGURE_ARGS &&
    1.40 +	make && make install
    1.41  }
    1.42  
    1.43  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.44  genpkg_rules()
    1.45  {
    1.46 -	mkdir -p $fs/usr/lib/X11/modules/drivers
    1.47 -	cp -a $_pkg/usr/lib/X11/modules/drivers/*.so \
    1.48 -		$fs/usr/lib/X11/modules/drivers/
    1.49 -
    1.50 +	mkdir -p ${fs}${MODS}/drivers
    1.51 +	cp -a ${install}${MODS}/drivers/*.so ${fs}${MODS}/drivers
    1.52  }
    1.53