aboutsummaryrefslogtreecommitdiff
path: root/libs/unixodbc
diff options
context:
space:
mode:
authorJeffery To <jeffery.to@gmail.com>2023-10-30 12:45:16 +0800
committerRosen Penev <rosenp@gmail.com>2023-10-30 13:25:58 -0700
commit14c8d269be0a00d49f8169c9d7198a1a64fd49bf (patch)
treedde2f33d5f9e356ef05b707c4fdd0d77efecd9a5 /libs/unixodbc
parent9563c6f018c12805628c3c774b1f531ee66eb7cd (diff)
unixodbc: Update to 2.3.12
This also adds a test.sh script for the packages feed CI. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
Diffstat (limited to 'libs/unixodbc')
-rw-r--r--libs/unixodbc/Makefile7
-rw-r--r--libs/unixodbc/test.sh5
2 files changed, 9 insertions, 3 deletions
diff --git a/libs/unixodbc/Makefile b/libs/unixodbc/Makefile
index 87e94f639..c45b69183 100644
--- a/libs/unixodbc/Makefile
+++ b/libs/unixodbc/Makefile
@@ -8,12 +8,12 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=unixodbc
-PKG_VERSION:=2.3.9
-PKG_RELEASE:=7
+PKG_VERSION:=2.3.12
+PKG_RELEASE:=1
PKG_SOURCE:=unixODBC-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.unixodbc.org
-PKG_HASH:=52833eac3d681c8b0c9a5a65f2ebd745b3a964f208fc748f977e44015a31b207
+PKG_HASH:=f210501445ce21bf607ba51ef8c125e10e22dffdffec377646462df5f01915ec
PKG_MAINTAINER:=Thomas Heil <heil@terminal-consulting.de>
PKG_LICENSE:=LGPL-2.1-or-later GPL-2.0-or-later
@@ -195,6 +195,7 @@ define Host/Configure
$(call Host/Configure/Default)
$(CP) $(STAGING_DIR)/usr/include/unixodbc/config.h $(HOST_BUILD_DIR)
$(CP) $(STAGING_DIR)/usr/include/unixodbc/unixodbc_conf.h $(HOST_BUILD_DIR)
+ $(CP) $(STAGING_DIR)/usr/include/unixodbc.h $(HOST_BUILD_DIR)
$(SED) 's!^#define INCLUDE_PREFIX ".*"!#define INCLUDE_PREFIX "$(STAGING_DIR)/usr/include"!' \
-e 's!^#define LIB_PREFIX ".*"!#define LIB_PREFIX "$(STAGING_DIR)/usr/lib"!' \
$(HOST_BUILD_DIR)/config.h \
diff --git a/libs/unixodbc/test.sh b/libs/unixodbc/test.sh
new file mode 100644
index 000000000..d4c42a404
--- /dev/null
+++ b/libs/unixodbc/test.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+[ "$1" = unixodbc-tools ] || exit 0
+
+isql --version | grep -Fx "unixODBC $PKG_VERSION"