Skip to content
This repository has been archived by the owner on Sep 29, 2022. It is now read-only.

Commit

Permalink
Add libuuid for llvm
Browse files Browse the repository at this point in the history
  • Loading branch information
mingwandroid committed Aug 13, 2017
1 parent c5e5439 commit 28d9c03
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 6 deletions.
7 changes: 1 addition & 6 deletions cross-compilers/llvm/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,20 +78,16 @@ requirements:
- cmake
- autoconf
- automake
- libuuid

outputs:

- name: cctools
script: install-cctools.sh
requirements:
build:
- autoconf
- automake
host:
- libuuid [linux]
- {{ pin_subpackage('llvm_' ~ library_type, exact=True) }}
run:
- libuuid [linux]
- {{ pin_subpackage('llvm_' ~ library_type, exact=True) }}

- name: llvm_{{library_type}}
Expand All @@ -107,7 +103,6 @@ outputs:
script: install-clang.sh
requirements:
build:
- cmake
- {{ pin_subpackage('llvm_' ~ library_type, exact=True) }}
run:
- {{ pin_subpackage('llvm_' ~ library_type, exact=True) }}
Expand Down
7 changes: 7 additions & 0 deletions libuuid/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash

bash configure --prefix=$PREFIX

make
make check
make install
28 changes: 28 additions & 0 deletions libuuid/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{% set version = "1.0.3" %}

package:
name: libuuid
version: {{ version }}

source:
fn: libuuid-{{ version }}.tar.gz
url: ftp://ftp.nersc.no/pub/Aleks/libuuid-{{ version }}.tar.gz
sha256: 46af3275291091009ad7f1b899de3d0cea0252737550e7919d17237997db5644

build:
number: 1
skip: True # [win]

test:
commands:
- test -f ${PREFIX}/lib/libuuid.a # [unix]
- conda inspect linkages libuuid # [unix]

about:
home: http://sourceforge.net/projects/libuuid/
license: BSD 3-Clause
summary: 'Portable uuid C library.'

extra:
recipe-maintainers:
- ocefpaf

0 comments on commit 28d9c03

Please sign in to comment.