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

linux: check_modules.sh do not create $WOK/tmp
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 18 10:10:03 2013 +0100 (2013-02-18)
parents 13ae91c806da
children
line diff
     1.1 --- a/xorg-xf86-video-r128/receipt	Sat Jan 22 02:36:20 2011 +0100
     1.2 +++ b/xorg-xf86-video-r128/receipt	Mon Feb 18 10:10:03 2013 +0100
     1.3 @@ -1,39 +1,39 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="xorg-xf86-video-r128"
     1.7 -VERSION="6.8.1"
     1.8 +VERSION="6.8.2"
     1.9  CATEGORY="x-window"
    1.10  SHORT_DESC="Xorg server Rage128 driver."
    1.11  MAINTAINER="gokhlayeh@slitaz.org"
    1.12 -DEPENDS="xorg-server mesa-dri-r128"
    1.13 -BUILD_DEPENDS="xorg-server-dev"
    1.14  SOURCE="xf86-video-r128"
    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 mesa-dri-r128"
    1.21 +BUILD_DEPENDS="xorg-server-dev"
    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 -    	--enable-dri \
    1.36 -    	$CONFIGURE_ARGS &&
    1.37 -    make &&
    1.38 -    make DESTDIR=$PWD/_pkg install
    1.39 +	cd $src
    1.40 +	./configure \
    1.41 +		--sysconfdir=/etc \
    1.42 +		--mandir=/usr/share/man \
    1.43 +		--localstatedir=/var \
    1.44 +		--with-xorg-module-dir=$MODS \
    1.45 +		--enable-dri \
    1.46 +		$CONFIGURE_ARGS &&
    1.47 +	make && make install
    1.48  }
    1.49  
    1.50  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.51  genpkg_rules()
    1.52  {
    1.53 -	mkdir -p $fs/usr/lib/X11/modules/drivers
    1.54 -	cp -a $_pkg/usr/lib/X11/modules/drivers/*.so \
    1.55 -		$fs/usr/lib/X11/modules/drivers/
    1.56 +	mkdir -p ${fs}${MODS}/drivers
    1.57 +	cp -a ${install}${MODS}/drivers/*.so ${fs}${MODS}/drivers
    1.58  }
    1.59