commit b8d66c284cf24c1738eb199a39d2ebc8c38193de
parent 094406cde8ceea7d976d975fd5e121cbe55309f9
Author: Steven Barth <steven@midlink.org>
Date: Wed, 26 Aug 2015 09:20:31 +0200
Merge pull request #1700 from aTanW/master
gammu: bump to mainstream v 1.36.4, full-language version build fix
Diffstat:
1 file changed, 11 insertions(+), 3 deletions(-)
diff --git a/utils/gammu/Makefile b/utils/gammu/Makefile
@@ -9,12 +9,12 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=gammu
-PKG_VERSION:=1.36.3
+PKG_VERSION:=1.36.4
PKG_RELEASE:=1
PKG_SOURCE_URL:=http://dl.cihar.com/gammu/releases/
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
-PKG_MD5SUM:=d5a6914996ebedcd6cac6622f2e4018b
+PKG_MD5SUM:=5149da5ddf5a68e1e8a4a5c2e0131a45
PKG_MAINTAINER:=Vitaly Protsko <villy@sft.ru>
PKG_LICENCE:=GPL-2.0
@@ -36,7 +36,15 @@ define Package/gammu
endef
CMAKE_OPTIONS += -DWITH_LibDBI:BOOL=OFF
-
+ifneq ($(INTL_FULL),)
+CMAKE_OPTIONS += -DLIBINTL_INCLUDE_DIRS:PATH=$(INTL_PREFIX)/include
+CMAKE_OPTIONS += -DLIBINTL_LIBRARIES:STRING=intl
+endif
+ifneq ($(ICONV_FULL),)
+CMAKE_OPTIONS += -DDISABLE_ICONV=OFF
+CMAKE_OPTIONS += -DICONV_INCLUDE_DIRS:PATH=$(ICONV_PREFIX)/include
+CMAKE_OPTIONS += -DICONV_LIBRARIES:STRING=iconv
+endif
define Build/InstallDev
mkdir -p $(1)/usr/include