Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=2dbb8b3ad0a3e77460c9c654a729286cc6fd9866

commit 2dbb8b3ad0a3e77460c9c654a729286cc6fd9866
Author: James Buren <r...@frugalware.org>
Date:   Tue Oct 11 13:40:59 2011 +0000

nvidia-cg-toolkit-3.0_February2011-1-i686
* new package

diff --git a/source/xlib-extra/nvidia-cg-toolkit/FrugalBuild 
b/source/xlib-extra/nvidia-cg-toolkit/FrugalBuild
new file mode 100644
index 0000000..4cc0011
--- /dev/null
+++ b/source/xlib-extra/nvidia-cg-toolkit/FrugalBuild
@@ -0,0 +1,59 @@
+# Compiling Time: 0 SBU
+# Maintainer: James Buren <r...@frugalware.org>
+
+pkgname=nvidia-cg-toolkit
+pkgver=3.0_February2011
+pkgrel=1
+pkgdesc="NVIDIA Cg libraries"
+url="http://developer.nvidia.com/object/cg_toolkit.html";
+depends=('libglu' 'libuuid')
+groups=('xlib-extra')
+archs=('i686' 'x86_64')
+up2date="$pkgver"
+source=(http://developer.download.nvidia.com/cg/Cg_3.0/Cg-${pkgver}_${CARCH/i686/x86}.tgz)
+if [ "$CARCH" == "i686" ]; then
+       sha1sums=('44e2b706a0295f635eb9023b5a3564c15e62de6b')
+elif [ "$CARCH" == "x86_64" ]; then
+       sha1sums=('29907317841670faf2e94ce9e8449c6feb2c4773')
+fi
+subpkgs=("$pkgname-docs")
+subdescs=("$pkgdesc documentation")
+subrodepends=("$pkgname")
+subgroups=("xlib-extra")
+subarchs=("i686 x86_64")
+
+build()
+{
+       Fmkdir /usr/share
+
+       # Package binaries.
+       Fcp usr/bin /usr/bin
+
+       # Package headers.
+       Fcp usr/include /usr/include
+
+       # Package libraries.
+       if [ "$CARCH" == "i686" ]; then
+               Fcp usr/lib /usr/lib
+       elif [ "$CARCH" == "x86_64" ]; then
+               Fcp usr/lib64 /usr/lib
+       fi
+
+       # Package all man pages.
+       Fcp usr/share/man /usr/share/man
+
+       # Package remaining developer resources.
+       Fcp usr/local/Cg /usr/share/Cg
+
+       # Package license.
+       Fdocrel usr/local/Cg/docs/license.txt
+
+       # Assert permissions
+       Ffileschmod / 0644
+       Fdirschmod / 0755
+       Ffileschmod /usr/bin 0755
+       Ffileschmod /usr/lib 0755
+
+       # Split documentation.
+       Fsplit $pkgname-docs usr/share/{Cg,man}
+}
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to