wok-current diff xorg-xf86-video-sis/receipt @ rev 13788

spacefm: use tazbox (thanks ernia)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jan 05 11:09:31 2013 +0100 (2013-01-05)
parents 53f06e703bed
children
line diff
     1.1 --- a/xorg-xf86-video-sis/receipt	Thu Feb 03 16:52:53 2011 +0000
     1.2 +++ b/xorg-xf86-video-sis/receipt	Sat Jan 05 11:09:31 2013 +0100
     1.3 @@ -1,39 +1,39 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="xorg-xf86-video-sis"
     1.7 -VERSION="0.10.3"
     1.8 +VERSION="0.10.4"
     1.9  CATEGORY="x-window"
    1.10  SHORT_DESC="Xorg driver for SIS cards."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12 -DEPENDS="xorg-server mesa-dri-sis"
    1.13 -BUILD_DEPENDS="xorg-server-dev xorg-xf86dgaproto xorg-xf86driproto"
    1.14  SOURCE="xf86-video-sis"
    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-sis"
    1.21 +BUILD_DEPENDS="xorg-server-dev xorg-xf86dgaproto xorg-xf86driproto"
    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