wok-stable annotate xorg-xf86-video-nv/receipt @ rev 9865
nagios: fix build
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Mon May 16 21:08:43 2011 +0200 (2011-05-16) |
parents | 07ae722ec64e |
children |
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" |
slaxemulator@8029 | 8 DEPENDS="xorg-server linux-agp" |
slaxemulator@8029 | 9 BUILD_DEPENDS="xorg-server-dev" |
pankso@447 | 10 SOURCE="xf86-video-nv" |
gokhlayeh@6993 | 11 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pankso@447 | 12 WEB_SITE="http://www.x.org/" |
pankso@447 | 13 WGET_URL="$XORG_MIRROR/driver/$TARBALL" |
jozee@5592 | 14 TAGS="xorg display" |
pankso@447 | 15 |
pankso@447 | 16 # Rules to configure and make the package. |
pankso@447 | 17 compile_rules() |
pankso@447 | 18 { |
pankso@447 | 19 cd $src |
pankso@447 | 20 ./configure \ |
pankso@447 | 21 --prefix=/usr \ |
pankso@447 | 22 --sysconfdir=/etc \ |
pankso@447 | 23 --mandir=/usr/share/man \ |
pankso@447 | 24 --localstatedir=/var \ |
pankso@447 | 25 --with-xorg-module-dir=/usr/lib/X11/modules \ |
pascal@1480 | 26 $CONFIGURE_ARGS && |
pascal@1480 | 27 make && |
pankso@447 | 28 make DESTDIR=$PWD/_pkg install |
pankso@447 | 29 } |
pankso@447 | 30 |
pankso@447 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@447 | 32 genpkg_rules() |
pankso@447 | 33 { |
pankso@447 | 34 mkdir -p $fs/usr/lib/X11/modules/drivers/ |
pankso@447 | 35 cp -a $_pkg/usr/lib/X11/modules/drivers/*.so \ |
pankso@447 | 36 $fs/usr/lib/X11/modules/drivers/ |
pankso@447 | 37 } |
pankso@447 | 38 |