diff options
author | Tim Biermann <tbier@posteo.de> | 2020-06-07 13:54:12 +0000 |
---|---|---|
committer | Tim Biermann <tbier@posteo.de> | 2020-06-07 16:12:35 +0000 |
commit | 12ca847ac6ab9a4e7ad590ae001b956a617d56ae (patch) | |
tree | e46613d5396476a121e021d7bbdeb27e0bc5c8ad /assimp/Pkgfile | |
parent | c749f83829d852d5b611c494508a1917244ca5cf (diff) | |
download | contrib-12ca847ac6ab9a4e7ad590ae001b956a617d56ae.tar.gz contrib-12ca847ac6ab9a4e7ad590ae001b956a617d56ae.tar.xz |
assimp: initial commit, version 5.0.1
Diffstat (limited to 'assimp/Pkgfile')
-rw-r--r-- | assimp/Pkgfile | 18 |
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 +} |