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