wok-stable annotate xorg-xf86-video-nv/receipt @ rev 5154
slitaz-tools-boxes:add serverbox
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Wed Mar 24 06:44:20 2010 -0400 (2010-03-24) |
parents | 39fb9be56471 |
children | be313e2832de |
rev | line source |
---|---|
pankso@447 | 1 # SliTaz package receipt. |
pankso@447 | 2 |
pankso@447 | 3 PACKAGE="xorg-xf86-video-nv" |
pankso@3016 | 4 VERSION="2.1.12" |
pankso@447 | 5 CATEGORY="x-window" |
erjo@4865 | 6 SHORT_DESC="Xorg NVIDIA video driver." |
pankso@447 | 7 MAINTAINER="pankso@slitaz.org" |
jozee@5070 | 8 DEPENDS="xorg xorg-server linux-agp" |
pascal@1480 | 9 BUILD_DEPENDS="xorg-server xorg-xproto xorg-fontsproto" |
pankso@447 | 10 SOURCE="xf86-video-nv" |
pankso@447 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
pankso@447 | 12 WEB_SITE="http://www.x.org/" |
pankso@447 | 13 WGET_URL="$XORG_MIRROR/driver/$TARBALL" |
pankso@447 | 14 |
pankso@447 | 15 # Rules to configure and make the package. |
pankso@447 | 16 compile_rules() |
pankso@447 | 17 { |
pankso@447 | 18 cd $src |
pankso@447 | 19 ./configure \ |
pankso@447 | 20 --prefix=/usr \ |
pankso@447 | 21 --sysconfdir=/etc \ |
pankso@447 | 22 --mandir=/usr/share/man \ |
pankso@447 | 23 --localstatedir=/var \ |
pankso@447 | 24 --with-xorg-module-dir=/usr/lib/X11/modules \ |
pascal@1480 | 25 $CONFIGURE_ARGS && |
pascal@1480 | 26 make && |
pankso@447 | 27 make DESTDIR=$PWD/_pkg install |
pankso@447 | 28 } |
pankso@447 | 29 |
pankso@447 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@447 | 31 genpkg_rules() |
pankso@447 | 32 { |
pankso@447 | 33 mkdir -p $fs/usr/lib/X11/modules/drivers/ |
pankso@447 | 34 cp -a $_pkg/usr/lib/X11/modules/drivers/*.so \ |
pankso@447 | 35 $fs/usr/lib/X11/modules/drivers/ |
pankso@447 | 36 } |
pankso@447 | 37 |