summaryrefslogtreecommitdiff
path: root/assimp/Pkgfile
diff options
context:
space:
mode:
authorTim Biermann <tbier@posteo.de>2020-06-07 13:54:12 +0000
committerTim Biermann <tbier@posteo.de>2020-06-07 16:12:35 +0000
commit12ca847ac6ab9a4e7ad590ae001b956a617d56ae (patch)
treee46613d5396476a121e021d7bbdeb27e0bc5c8ad /assimp/Pkgfile
parentc749f83829d852d5b611c494508a1917244ca5cf (diff)
downloadcontrib-12ca847ac6ab9a4e7ad590ae001b956a617d56ae.tar.gz
contrib-12ca847ac6ab9a4e7ad590ae001b956a617d56ae.tar.xz
assimp: initial commit, version 5.0.1
Diffstat (limited to 'assimp/Pkgfile')
-rw-r--r--assimp/Pkgfile18
1 files changed, 18 insertions, 0 deletions
diff --git a/assimp/Pkgfile b/assimp/Pkgfile
new file mode 100644
index 000000000..bb1b1f7a5
--- /dev/null
+++ b/assimp/Pkgfile
@@ -0,0 +1,18 @@
+# Description: Library to import various well-known 3D model formats in an uniform manner
+# URL: http://assimp.sourceforge.net/index.html
+# Maintainer: Tim Biermann, tbier at posteo dot de
+# Depends on: boost cmake
+
+name=assimp
+version=5.0.1
+release=1
+source=(https://github.com/assimp/assimp/archive/v$version/$name-$version.tar.gz)
+
+build() {
+ cmake -S$name-$version -Bbuild \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DASSIMP_BUILD_SAMPLES=OFF
+ cmake --build build --target install
+ DESTDIR=$PKG cmake --build build --target install
+}

Generated by cgit