new file: projects/unixodbc.org/package.yml

This commit is contained in:
andrejrabcenko 2023-04-28 20:48:12 +03:00 committed by Max Howell
parent 34413fb7b8
commit 6387c76181

View file

@ -0,0 +1,36 @@
distributable:
url: https://github.com/lurcher/unixODBC/releases/download/{{version}}/unixODBC-{{version}}.tar.gz
strip-components: 1
versions:
github: lurcher/unixODBC
dependencies:
gnu.org/libtool: '*'
build:
dependencies:
tea.xyz/gx/cc: c99
tea.xyz/gx/make: '*'
script: |
./configure $ARGS
make --jobs {{ hw.concurrency }} install
env:
ARGS:
- --prefix="{{prefix}}"
- --disable-debug
- --disable-dependency-tracking
- --enable-static
- --enable-gui=no
provides:
- bin/dltest
- bin/isql
- bin/iusql
- bin/odbc_config
- bin/odbcinst
- bin/slencheck
test:
script:
odbc_config --version | grep {{version}}