Commit d2ee6a3866fe37b4703aabee1469f9acc14b76fb
1 parent
47dab4bf
Add conda.recipe
Showing
10 changed files
with
65 additions
and
2 deletions
.gitignore
Makefile.am
| ... | ... | @@ -31,6 +31,12 @@ pkgconfigdir = $(libdir)/pkgconfig |
| 31 | 31 | # Files to install in Pkgconfig directory |
| 32 | 32 | pkgconfig_DATA = ctools.pc |
| 33 | 33 | |
| 34 | +# Conda activate directory | |
| 35 | +condaactivatedir = $(sysconfdir)/conda/activate.d | |
| 36 | +condaactivate_DATA = dev/ctools-activate.sh | |
| 37 | +condadeactivatedir = $(sysconfdir)/conda/deactivate.d | |
| 38 | +condadeactivate_DATA = dev/ctools-deactivate.sh | |
| 39 | + | |
| 34 | 40 | # Manual pages to install |
| 35 | 41 | man_MANS = |
| 36 | 42 | ... | ... |
configure.ac
ctools.pc.in
dev/conda.recipe/build.sh
0 → 100755
| 1 | +#!/bin/bash | |
| 2 | + | |
| 3 | +# Set Mac OS X minimum deployment target | |
| 4 | +if [ `uname` == Darwin ]; then | |
| 5 | + export CXXFLAGS="-mmacosx-version-min=${MACOSX_DEPLOYMENT_TARGET}" | |
| 6 | + export LDFLAGS="-mmacosx-version-min=${MACOSX_DEPLOYMENT_TARGET}" | |
| 7 | +fi | |
| 8 | + | |
| 9 | +# Configure ctools | |
| 10 | +./configure --prefix="$PREFIX" | |
| 11 | + | |
| 12 | +# Build | |
| 13 | +make | |
| 14 | + | |
| 15 | +# Install | |
| 16 | +make install | ... | ... |
dev/conda.recipe/conda_build_config.yaml
0 → 100644
dev/conda.recipe/meta.yaml.in
0 → 100644
| 1 | +package: | |
| 2 | + name: ctools | |
| 3 | + version: "@VERSION@" | |
| 4 | + | |
| 5 | + | |
| 6 | +source: | |
| 7 | + fn: ctools-@VERSION@.tar.gz | |
| 8 | + url: http://cta.irap.omp.eu/ctools/releases/ctools/ctools-@VERSION@.tar.gz | |
| 9 | + #md5: a2751da55f7b97d48db57156e8096792 | |
| 10 | + | |
| 11 | +build: | |
| 12 | + number: 1 | |
| 13 | + binary_relocation: True | |
| 14 | + detect_binary_files_with_prefix: True | |
| 15 | + | |
| 16 | +requirements: | |
| 17 | + build: | |
| 18 | + - python | |
| 19 | + - setuptools | |
| 20 | + - swig | |
| 21 | + - gammalib >=1.5.0.dev1 | |
| 22 | + run: | |
| 23 | + - python | |
| 24 | + - gammalib >=1.5.0.dev1 | |
| 25 | + | |
| 26 | +about: | |
| 27 | + home: http://cta.irap.omp.eu/ctools | |
| 28 | + license: GPL3 | ... | ... |
dev/ctools-activate.sh
0 → 100644
dev/ctools-deactivate.sh
0 → 100644
dev/release.py
| ... | ... | @@ -385,7 +385,6 @@ def set_package_version(version): |
| 385 | 385 | # file name should include their access paths with respect to the source |
| 386 | 386 | # directory |
| 387 | 387 | filenames = ['configure.ac', |
| 388 | - 'ctools.pc.in', | |
| 389 | 388 | 'README.md', |
| 390 | 389 | 'sonar-project.properties', |
| 391 | 390 | 'doc/Doxyfile', | ... | ... |