Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions projects/gaia-gis.it/fossil/freexl/package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
distributable:
url: https://www.gaia-gis.it/gaia-sins/freexl-sources/freexl-{{version}}.tar.gz
strip-components: 1

# if there’s 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}}"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

--disable-debug is usually worth it.

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