wok-next annotate nvidia-glx/receipt @ rev 1836
Add nvidia,nvidia-glx,nvidia-settings
author | Bill Nagel <b1+slitaz@nagel.org> |
---|---|
date | Wed Dec 10 23:57:23 2008 -0800 (2008-12-10) |
parents | |
children | 88bf5a2b55c3 |
rev | line source |
---|---|
b1+slitaz@1836 | 1 # SliTaz package receipt. |
b1+slitaz@1836 | 2 |
b1+slitaz@1836 | 3 PACKAGE="nvidia-glx" |
b1+slitaz@1836 | 4 VERSION="177.82" |
b1+slitaz@1836 | 5 CATEGORY="non-free" |
b1+slitaz@1836 | 6 SHORT_DESC="NVIDIA X.org libraries and utilities" |
b1+slitaz@1836 | 7 MAINTAINER="b1+slitaz@nagel.org" |
b1+slitaz@1836 | 8 DEPENDS="nvidia xorg xorg-server" |
b1+slitaz@1836 | 9 WANTED="nvidia" |
b1+slitaz@1836 | 10 WEB_SITE="http://www.nvidia.com" |
b1+slitaz@1836 | 11 |
b1+slitaz@1836 | 12 # Rules to gen a SliTaz package suitable for Tazpkg. |
b1+slitaz@1836 | 13 genpkg_rules() |
b1+slitaz@1836 | 14 { |
b1+slitaz@1836 | 15 mkdir -p $fs/usr/{bin,lib/tls} |
b1+slitaz@1836 | 16 mkdir -p $fs/usr/lib/X11/modules/{extensions,drivers} |
b1+slitaz@1836 | 17 |
b1+slitaz@1836 | 18 install -m755 $src/usr/lib/lib{GL,GLcore,nvidia-cfg,nvidia-tls}.so.$VERSION $fs/usr/lib |
b1+slitaz@1836 | 19 install -m755 $src/usr/{lib/tls,X11R6/lib}/lib*.so.$VERSION $fs/usr/lib/tls |
b1+slitaz@1836 | 20 install -m755 $src/usr/X11R6/lib/modules/drivers/nvidia_drv.so $fs/usr/lib/X11/modules/drivers |
b1+slitaz@1836 | 21 install -m755 $src/usr/X11R6/lib/modules/extensions/libglx.so.$VERSION $fs/usr/lib/X11/modules/extensions |
b1+slitaz@1836 | 22 |
b1+slitaz@1836 | 23 install -m755 $src/usr/bin/nvidia-xconfig $fs/usr/bin/ |
b1+slitaz@1836 | 24 |
b1+slitaz@1836 | 25 find $fs/ -name \*.so.$VERSION | while read lib; do |
b1+slitaz@1836 | 26 libname=$(basename "$lib") |
b1+slitaz@1836 | 27 (cd $(dirname "$lib") && |
b1+slitaz@1836 | 28 ln -s $libname ${libname%.$VERSION} && |
b1+slitaz@1836 | 29 ln -s $libname ${libname%.$VERSION}.1) |
b1+slitaz@1836 | 30 done |
b1+slitaz@1836 | 31 } |