summaryrefslogtreecommitdiff
path: root/~lukeshu/openni-git/PKGBUILD
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2011-11-21 16:12:41 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2011-11-21 16:12:41 -0500
commit7b3cb24dc8e0d31a060bfa0fc35a4eef3ced9fc4 (patch)
tree1bd5553495513d9e0237f10b906bbe0aeeee4d76 /~lukeshu/openni-git/PKGBUILD
parentea491c79653878f2d444cad587365e396986a81c (diff)
downloadabslibre-7b3cb24dc8e0d31a060bfa0fc35a4eef3ced9fc4.tar.gz
abslibre-7b3cb24dc8e0d31a060bfa0fc35a4eef3ced9fc4.tar.bz2
abslibre-7b3cb24dc8e0d31a060bfa0fc35a4eef3ced9fc4.zip
hack openni a bit
Diffstat (limited to '~lukeshu/openni-git/PKGBUILD')
-rw-r--r--~lukeshu/openni-git/PKGBUILD29
1 files changed, 19 insertions, 10 deletions
diff --git a/~lukeshu/openni-git/PKGBUILD b/~lukeshu/openni-git/PKGBUILD
index 4170d2987..28a25e9ed 100644
--- a/~lukeshu/openni-git/PKGBUILD
+++ b/~lukeshu/openni-git/PKGBUILD
@@ -5,7 +5,9 @@
pkgname=(
openni
- openni-samples
+
+ openni-core
+ openni-core-samples
openni-mono
openni-mono-samples
@@ -17,7 +19,8 @@ pkgrel=1
arch=('i686' 'x86_64')
url="http://www.openni.org/"
license=('GPL')
-makedepends=('git' 'doxygen' 'graphviz')
+# The README says it works with python3 works--it doesn't
+makedepends=('git' 'doxygen' 'graphviz' 'python2')
source=()
md5sums=()
@@ -73,11 +76,14 @@ build() {
package_openni() {
pkgdesc="Open Natural Interface framework"
+ depends=('openni-core')
+}
+package_openni-core() {
+ pkgdesc="OpenNI core libraries"
depends=('libusb' 'freeglut')
- depends=('python' 'libusb' 'freeglut' 'java-environment' 'mono')
install="openni.install"
}
-package_openni-samples() {
+package_openni-core-samples() {
pkgdesc="OpenNI sample programs"
depends=('openni')
}
@@ -99,15 +105,18 @@ package_openni-mono-samples() {
}
package_old() {
- install -d -m755 "${pkgdir}/usr/"{lib,bin,include/ni/Linux-${_platform}}
- install -d -m755 "${pkgdir}/var/lib/ni"
+ install -d "${pkgdir}/var/lib/ni"
cd "${srcdir}/${_gitname}-build/Include"
- install *.h "${pkgdir}/usr/include/ni"
- install Linux-${_platform}/* "${pkgdir}/usr/include/ni/Linux-${_platform}"
+ install -d "${pkgdir}/usr/include/ni/Linux-${_platform}"
+ install -m644 *.h "${pkgdir}/usr/include/ni"
+ install -m644 Linux-${_platform}/* "${pkgdir}/usr/include/ni/Linux-${_platform}"
cd "${srcdir}/${_gitname}-build/Platform/Linux/Bin/${_platform}-Release"
- install niLicense niReg "${pkgdir}/usr/bin"
+ install -d "${pkgdir}/usr/bin"
+ install -m755 niLicense niReg "${pkgdir}/usr/bin"
- install libnimCodecs.so libnimMockNodes.so libnimRecorder.so libOpenNI.so "${pkgdir}/usr/lib"
+ libfiles='libnimCodecs.so libnimMockNodes.so libnimRecorder.so libOpenNI.so'
+ install -d "${pkgdir}/usr/lib"
+ install -m755 $libfiles "${pkgdir}/usr/lib"
}