]> https://gitweb.dealii.org/ - candi.git/commitdiff
add assimp v3.3.1 64/head
authorTimo Heister <timo.heister@gmail.com>
Fri, 2 Feb 2018 19:55:33 +0000 (14:55 -0500)
committerTimo Heister <timo.heister@gmail.com>
Fri, 2 Feb 2018 19:55:33 +0000 (14:55 -0500)
optional dependency for deal.II 9.0

candi.cfg
deal.II-toolchain/packages/assimp.package [new file with mode: 0644]

index 0a6394734c809b89e244a6ae326ce53b37012652..ab98cbd86bc66645d57eae1b02f9a35d700b0d4f 100644 (file)
--- a/candi.cfg
+++ b/candi.cfg
@@ -44,6 +44,7 @@ PACKAGES="load:dealii-prepare"
 
 # These packages determine the active components of deal.II:
 #PACKAGES="${PACKAGES} once:arpack-ng"
+#PACKAGES="${PACKAGES} once:assimp"
 #PACKAGES="${PACKAGES} once:nanoflann"
 PACKAGES="${PACKAGES} once:opencascade"
 PACKAGES="${PACKAGES} once:parmetis"
diff --git a/deal.II-toolchain/packages/assimp.package b/deal.II-toolchain/packages/assimp.package
new file mode 100644 (file)
index 0000000..dcfb7a4
--- /dev/null
@@ -0,0 +1,27 @@
+VERSION=3.3.1
+NAME=v${VERSION}
+EXTRACTSTO=assimp-${VERSION}
+SOURCE=https://github.com/assimp/assimp/archive/
+CHECKSUM=fc57b024e80ebb13301bd0983826cad3
+PACKING=.tar.gz
+BUILDCHAIN=cmake
+
+BUILDDIR=${BUILD_PATH}/assimp-${VERSION}
+INSTALL_PATH=${INSTALL_PATH}/assimp-${VERSION}
+
+CONFOPTS="-D CMAKE_INSTALL_PREFIX=${INSTALL_PATH} \
+ -D BUILD_SHARED_LIBS=ON"
+
+package_specific_register () {
+    export ASSIMP_DIR=${INSTALL_PATH}
+}
+
+package_specific_conf () {
+    # Generate configuration file
+    CONFIG_FILE=${CONFIGURATION_PATH}/assimp-${NAME}
+    rm -f $CONFIG_FILE
+    echo "
+export ASSIMP_DIR=${INSTALL_PATH}
+" >> $CONFIG_FILE
+}
+

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.