Commit 12051c67 authored by Samuel Debionne's avatar Samuel Debionne

Add recipe for libdexela

parent fba34ec9
Pipeline #12813 failed with stages
in 12 seconds
before_script:
- source /opt/conda/bin/activate
build:
stage: build
script:
- cd $CI_COMMIT_REF_NAME
- conda build . --prefix-length=80 --output-folder=../dist/ --channel=http://bcu-ci.esrf.fr/stable
- conda build $CI_COMMIT_REF_NAME --prefix-length=80 --output-folder=dist
artifacts:
paths:
- dist/
......@@ -18,6 +15,6 @@ deploy:
- build
script:
- mv -f dist/linux-64/*.tar.bz2 /conda/linux-64/
- conda index /conda/linux-64/
- conda index /conda
except:
- master
#!/bin/bash
cmake -Bbuild -H. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$PREFIX -DCMAKE_FIND_ROOT_PATH=$PREFIX -DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE=ONLY -DCMAKE_FIND_ROOT_PATH_MODE_LIBRARY=ONLY
cmake --build build --target install
# Strip the 'v' from the version tag
{% if GIT_DESCRIBE_TAG is defined %}
{% set version = GIT_DESCRIBE_TAG[1:] %}
{% else %}
{% set version = "0.0.0" %}
{% endif %}
package:
name: libdexela
version: {{ version }}
source:
path: ..
build:
number: {{ environ.get('GIT_DESCRIBE_NUMBER', 0) }}
requirements:
host:
- glib 2
build:
- git
- cmake
- {{ compiler('c') }}
run:
- glib
about:
home: https://github.com/esrf-bliss/libdexela
license: GPL
license_file: COPYING
summary: a small library based on xclib for use with a Dexela 1207 X-Ray detector.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment