libiio: make optional dependencies conditional

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
This commit is contained in:
Michael Heimpold 2017-06-30 23:45:46 +02:00
parent e64898546c
commit d2301d4865
1 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=libiio
PKG_VERSION:=0.10
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/analogdevicesinc/libiio/tar.gz/v$(PKG_VERSION)?
@ -33,7 +33,7 @@ define Package/libiio
CATEGORY:=Libraries
TITLE:=Library for interfacing with Linux IIO devices
URL:=https://github.com/analogdevicesinc/libiio
DEPENDS:=+libusb-1.0 +libxml2
DEPENDS:=+PACKAGE_libaio:libaio +PACKAGE_libusb:libusb-1.0 +libxml2
endef
define Package/libiio/description