2023-03-23 21:47:35 +03:00
|
|
|
distributable:
|
|
|
|
url: https://www.gaia-gis.it/gaia-sins/freexl-sources/freexl-{{version}}.tar.gz
|
|
|
|
strip-components: 1
|
|
|
|
|
|
|
|
versions:
|
2023-05-01 20:14:59 +03:00
|
|
|
url: https://www.gaia-gis.it/gaia-sins/freexl-sources/
|
|
|
|
match: /freexl-\d+\.\d+(\.\d+)?\.tar\.gz/
|
|
|
|
strip:
|
|
|
|
- /freexl-/
|
|
|
|
- /.tar.gz/
|
2023-03-23 21:47:35 +03:00
|
|
|
|
2023-07-25 21:29:50 +03:00
|
|
|
dependencies:
|
2023-07-25 22:39:41 +03:00
|
|
|
# starting with v2
|
|
|
|
zlib.net/minizip: ^1
|
|
|
|
libexpat.github.io: ^2
|
2023-07-25 21:29:50 +03:00
|
|
|
|
2023-03-23 21:47:35 +03:00
|
|
|
build:
|
|
|
|
dependencies:
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
script: |
|
|
|
|
mv $FIXTURE test.c
|
|
|
|
cc test.c -lfreexl
|
|
|
|
./a.out
|