Browse Source

gammu: fix dependencies

- disable libdbi via CMAKE
- fix libpq dependency
reported by buildbot.openwrt.org

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
lilik-openwrt-22.03
Dirk Neukirchen 10 years ago
parent
commit
7c68afaf4a
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      utils/gammu/Makefile

+ 4
- 2
utils/gammu/Makefile View File

@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=gammu PKG_NAME:=gammu
PKG_VERSION:=1.34.0 PKG_VERSION:=1.34.0
PKG_RELEASE:=2
PKG_RELEASE:=3
PKG_SOURCE_URL:=http://dl.cihar.com/gammu/releases/ PKG_SOURCE_URL:=http://dl.cihar.com/gammu/releases/
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
@ -31,10 +31,12 @@ define Package/gammu
URL:=http://dl.cihar.com/gammu/releases/ URL:=http://dl.cihar.com/gammu/releases/
DEPENDS:=+libpthread +libcurl +glib2 $(ICONV_DEPENDS) $(INTL_DEPENDS) DEPENDS:=+libpthread +libcurl +glib2 $(ICONV_DEPENDS) $(INTL_DEPENDS)
DEPENDS+=+PACKAGE_python:python +PACKAGE_bluez-libs:bluez-libs DEPENDS+=+PACKAGE_python:python +PACKAGE_bluez-libs:bluez-libs
DEPENDS+=+PACKAGE_libmysqlclient:libmysqlclient +PACKAGE_unixodbc:unixodbc
DEPENDS+=+PACKAGE_libmysqlclient:libmysqlclient +PACKAGE_unixodbc:unixodbc +PACKAGE_libpq:libpq
DEPENDS+=+PACKAGE_libusb-1.0:libusb-1.0 DEPENDS+=+PACKAGE_libusb-1.0:libusb-1.0
endef endef
CMAKE_OPTIONS += -DWITH_LibDBI:BOOL=OFF
define Build/InstallDev define Build/InstallDev
mkdir -p $(1)/usr/include mkdir -p $(1)/usr/include


Loading…
Cancel
Save