mirror of
https://github.com/ivabus/pantry
synced 2024-11-30 04:05:06 +03:00
35 lines
752 B
YAML
35 lines
752 B
YAML
distributable:
|
|
url: https://github.com/OSGeo/libgeotiff/releases/download/{{version}}/libgeotiff-{{version}}.tar.gz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
github: OSGeo/libgeotiff
|
|
|
|
dependencies:
|
|
libjpeg-turbo.org: '*'
|
|
simplesystems.org/libtiff: '*'
|
|
proj.org: '*'
|
|
|
|
build:
|
|
script:
|
|
- ./configure $ARGS
|
|
- make --jobs {{ hw.concurrency }}
|
|
- make --jobs {{ hw.concurrency }} install
|
|
env:
|
|
ARGS:
|
|
- --prefix="{{prefix}}"
|
|
- --with-jpeg
|
|
- --disable-debug
|
|
- --disable-dependency-tracking
|
|
- --disable-silent-rules
|
|
|
|
provides:
|
|
- bin/applygeo
|
|
- bin/geotifcp
|
|
- bin/listgeo
|
|
|
|
test:
|
|
script:
|
|
- cc test.c -ltiff -lgeotiff -o test
|
|
- ./test test.tiff
|
|
- listgeo test.tiff | grep GeogInvFlatteningGeoKey
|