diff --git a/libs/unixodbc/Makefile b/libs/unixodbc/Makefile index 87e94f6398..c45b69183c 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 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 0000000000..d4c42a4048 --- /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"