wok-current diff xorg-xf86-video-nv/receipt @ rev 13045
pcsxr-svn: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jun 15 18:25:33 2012 +0200 (2012-06-15) |
parents | c514cc4854d8 |
children | 5f4f33f36a0f |
line diff
1.1 --- a/xorg-xf86-video-nv/receipt Wed Jan 19 19:41:12 2011 +0000 1.2 +++ b/xorg-xf86-video-nv/receipt Fri Jun 15 18:25:33 2012 +0200 1.3 @@ -5,34 +5,34 @@ 1.4 CATEGORY="x-window" 1.5 SHORT_DESC="Xorg NVIDIA video driver." 1.6 MAINTAINER="pankso@slitaz.org" 1.7 -DEPENDS="xorg-server linux-agp" 1.8 -BUILD_DEPENDS="xorg-server-dev" 1.9 SOURCE="xf86-video-nv" 1.10 TARBALL="$SOURCE-$VERSION.tar.bz2" 1.11 WEB_SITE="http://www.x.org/" 1.12 WGET_URL="$XORG_MIRROR/driver/$TARBALL" 1.13 TAGS="xorg display" 1.14 1.15 +DEPENDS="xorg-server linux-agp" 1.16 +BUILD_DEPENDS="xorg-server-dev" 1.17 + 1.18 +MODS='/usr/lib/X11/modules' 1.19 + 1.20 # Rules to configure and make the package. 1.21 compile_rules() 1.22 { 1.23 - cd $src 1.24 - ./configure \ 1.25 - --prefix=/usr \ 1.26 - --sysconfdir=/etc \ 1.27 - --mandir=/usr/share/man \ 1.28 - --localstatedir=/var \ 1.29 - --with-xorg-module-dir=/usr/lib/X11/modules \ 1.30 - $CONFIGURE_ARGS && 1.31 - make && 1.32 - make DESTDIR=$PWD/_pkg install 1.33 + cd $src 1.34 + ./configure \ 1.35 + --sysconfdir=/etc \ 1.36 + --mandir=/usr/share/man \ 1.37 + --localstatedir=/var \ 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 + mkdir -p ${fs}${MODS}/drivers 1.50 + cp -a ${install}${MODS}/drivers/*.so ${fs}${MODS}/drivers 1.51 } 1.52