wok-6.x annotate xorg-xf86-video-nv/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 | 5f4f33f36a0f |
rev | line source |
---|---|
pankso@447 | 1 # SliTaz package receipt. |
pankso@447 | 2 |
pankso@447 | 3 PACKAGE="xorg-xf86-video-nv" |
gokhlayeh@6993 | 4 VERSION="2.1.18" |
pankso@447 | 5 CATEGORY="x-window" |
erjo@4865 | 6 SHORT_DESC="Xorg NVIDIA video driver." |
pankso@447 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@447 | 8 SOURCE="xf86-video-nv" |
gokhlayeh@6993 | 9 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pankso@447 | 10 WEB_SITE="http://www.x.org/" |
pankso@447 | 11 WGET_URL="$XORG_MIRROR/driver/$TARBALL" |
jozee@5592 | 12 TAGS="xorg display" |
pankso@447 | 13 |
pankso@12530 | 14 DEPENDS="xorg-server linux-agp" |
pankso@12530 | 15 BUILD_DEPENDS="xorg-server-dev" |
pankso@12530 | 16 |
pankso@12530 | 17 MODS='/usr/lib/X11/modules' |
pankso@12530 | 18 |
pankso@447 | 19 # Rules to configure and make the package. |
pankso@447 | 20 compile_rules() |
pankso@447 | 21 { |
pankso@12530 | 22 cd $src |
pankso@12530 | 23 ./configure \ |
pankso@12530 | 24 --sysconfdir=/etc \ |
pankso@12530 | 25 --mandir=/usr/share/man \ |
pankso@12530 | 26 --localstatedir=/var \ |
pankso@12530 | 27 --with-xorg-module-dir=$MODS \ |
pankso@12530 | 28 $CONFIGURE_ARGS && |
pankso@12530 | 29 make && make install |
pankso@447 | 30 } |
pankso@447 | 31 |
pankso@447 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@447 | 33 genpkg_rules() |
pankso@447 | 34 { |
pankso@12530 | 35 mkdir -p ${fs}${MODS}/drivers |
pankso@12530 | 36 cp -a ${install}${MODS}/drivers/*.so ${fs}${MODS}/drivers |
pankso@447 | 37 } |
pankso@447 | 38 |