pantry/projects/gaia-gis.it/fossil/freexl/package.yml
Marc Seitz 309b227cf0
+freexl (#846)
* +freexl

* fix linux architecture env
2023-03-23 14:47:35 -04:00

42 lines
820 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

distributable:
url: https://www.gaia-gis.it/gaia-sins/freexl-sources/freexl-{{version}}.tar.gz
strip-components: 1
# if theres a github then we can parse the versions
versions:
- 1.0.6
build:
dependencies:
tea.xyz/gx/cc: c99
tea.xyz/gx/make: '*'
doxygen.nl: 1
script: |
./configure $ARGS
make --jobs {{ hw.concurrency }} install
env:
ARGS:
- --prefix="{{prefix}}"
linux/aarch64:
ARGS:
- --build=aarch64-unknown-linux-gnu
linux/x86-64:
ARGS:
- --build=x86_64-unknown-linux-gnu
test:
fixture: |
#include <stdio.h>
#include "freexl.h"
int main()
{
printf("%s", freexl_version());
return 0;
}
dependencies:
tea.xyz/gx/cc: c99
script: |
mv $FIXTURE test.c
cc test.c -lfreexl
./a.out