forked from bioconda/bioconda-recipes
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add recipe for connectome-workbench 1.3.1. (bioconda#10248)
* Add recipe for connectome-workbench 1.3.1. * Use extended container.
- Loading branch information
Showing
2 changed files
with
86 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/bin/bash | ||
|
||
export PKG_CONFIG_PATH=${PREFIX}/lib/pkgconfig \ | ||
OPENMP_HEADER_DIR=${PREFIX}/include \ | ||
OPENMP_LIB_DIR=${PREFIX}/lib \ | ||
FREETYPE_DIR=${PREFIX} | ||
|
||
mkdir build | ||
cd build | ||
cmake -DCMAKE_INSTALL_PREFIX=${PREFIX} -DOPENSSL_ROOT_DIR=${PREFIX} \ | ||
-DCMAKE_BUILD_TYPE=Release -DCMAKE_EXE_LINKER_FLAGS_RELEASE="-L${PREFIX}/lib" \ | ||
-DWORKBENCH_USE_QT5=TRUE -DZLIB_ROOT=${PREFIX} -DWORKBENCH_MESA_DIR=${PREFIX} \ | ||
-DCMAKE_PREFIX_PATH=${PREFIX} -DPKG_CONFIG_USE_CMAKE_PREFIX_PATH=True ../src | ||
make -j ${CPU_COUNT} | ||
make install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
{% set name = "connectome-workbench" %} | ||
{% set version = "1.3.1" %} | ||
{% set sha256 = "0359619ef7559cdd2e677c1c924153bb3534505ca9baf58d9c6281eae654e2c7" %} | ||
|
||
package: | ||
name: {{ name }} | ||
version: {{ version }} | ||
|
||
source: | ||
url: https://github.com/Washington-University/workbench/archive/v{{ version }}.tar.gz | ||
sha256: {{ sha256 }} | ||
|
||
build: | ||
number: 0 | ||
skip: True # [osx] | ||
|
||
requirements: | ||
build: | ||
- {{ compiler('c') }} | ||
- {{ compiler('cxx') }} | ||
- cmake >=2.8 | ||
|
||
host: | ||
- qt >=5.6 | ||
- libpng | ||
- zlib | ||
- openssl | ||
- openmp | ||
- freetype | ||
- mesa | ||
- libglu | ||
- xorg-libx11 | ||
- xorg-libxext | ||
- xorg-libxfixes | ||
- xorg-libxcb | ||
- xorg-libxau | ||
- xorg-libxdmcp | ||
|
||
run: | ||
- qt >=5.6 | ||
- libpng | ||
- zlib | ||
- openssl | ||
- openmp | ||
- freetype | ||
- mesa | ||
- libglu | ||
- xorg-libx11 | ||
- xorg-libxext | ||
- xorg-libxfixes | ||
- xorg-libxcb | ||
- xorg-libxau | ||
- xorg-libxdmcp | ||
|
||
test: | ||
commands: | ||
- wb_command -help | ||
- wb_view -help | ||
- wb_shortcuts -help | ||
|
||
about: | ||
home: https://www.humanconnectome.org/software/connectome-workbench | ||
summary: "Connectome Workbench is an open source, freely available visualization and discovery tool used to map neuroimaging data, especially data generated by the Human Connectome Project" | ||
license: GPL-2.0 | ||
license_family: GPL | ||
license_file: LICENSE | ||
dev_url: https://github.com/Washington-University/workbench | ||
|
||
extra: | ||
container: | ||
extended-base: True |