From 6387c761816521e0cf0ba4b58b3882375482a0fa Mon Sep 17 00:00:00 2001 From: andrejrabcenko Date: Fri, 28 Apr 2023 20:48:12 +0300 Subject: [PATCH] new file: projects/unixodbc.org/package.yml --- projects/unixodbc.org/package.yml | 36 +++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 projects/unixodbc.org/package.yml diff --git a/projects/unixodbc.org/package.yml b/projects/unixodbc.org/package.yml new file mode 100644 index 00000000..ba8a76a5 --- /dev/null +++ b/projects/unixodbc.org/package.yml @@ -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}} \ No newline at end of file