Merge pull request #10362 from micmac1/modemmanager-host-tools
modemmanager: fix compilation
This commit is contained in:
commit
f2ddeb214a
1 changed files with 9 additions and 5 deletions
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=modemmanager
|
PKG_NAME:=modemmanager
|
||||||
PKG_VERSION:=1.10.6
|
PKG_VERSION:=1.10.6
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
PKG_SOURCE:=ModemManager-$(PKG_VERSION).tar.xz
|
PKG_SOURCE:=ModemManager-$(PKG_VERSION).tar.xz
|
||||||
PKG_SOURCE_URL:=https://www.freedesktop.org/software/ModemManager
|
PKG_SOURCE_URL:=https://www.freedesktop.org/software/ModemManager
|
||||||
|
@ -23,6 +23,10 @@ LICENSE_FILES:=COPYING
|
||||||
PKG_INSTALL:=1
|
PKG_INSTALL:=1
|
||||||
PKG_BUILD_PARALLEL:=1
|
PKG_BUILD_PARALLEL:=1
|
||||||
|
|
||||||
|
PKG_BUILD_DEPENDS:=glib2/host libxslt/host
|
||||||
|
|
||||||
|
PKG_FIXUP:=autoreconf
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
define Package/modemmanager/config
|
define Package/modemmanager/config
|
||||||
|
@ -73,6 +77,10 @@ define Build/Prepare
|
||||||
( cd "$(PKG_BUILD_DIR)"; \
|
( cd "$(PKG_BUILD_DIR)"; \
|
||||||
printf "all:\ninstall:\n" >po/Makefile.in.in; \
|
printf "all:\ninstall:\n" >po/Makefile.in.in; \
|
||||||
)
|
)
|
||||||
|
$(SED) 's|^\(GLIB_MKENUMS\)=.*|\1=$(STAGING_DIR_HOSTPKG)/bin/glib-mkenums|' \
|
||||||
|
$(PKG_BUILD_DIR)/configure.ac
|
||||||
|
$(SED) 's|^\(GDBUS_CODEGEN\)=.*|\1=$(STAGING_DIR_HOSTPKG)/bin/gdbus-codegen|' \
|
||||||
|
$(PKG_BUILD_DIR)/configure.ac
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/InstallDev
|
define Build/InstallDev
|
||||||
|
@ -125,8 +133,4 @@ define Package/modemmanager/install
|
||||||
$(INSTALL_BIN) ./files/modemmanager.proto $(1)/lib/netifd/proto/modemmanager.sh
|
$(INSTALL_BIN) ./files/modemmanager.proto $(1)/lib/netifd/proto/modemmanager.sh
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call RequireCommand,xsltproc, \
|
|
||||||
$(PKG_NAME) requires xsltproc installed on the host-system. \
|
|
||||||
))
|
|
||||||
|
|
||||||
$(eval $(call BuildPackage,modemmanager))
|
$(eval $(call BuildPackage,modemmanager))
|
||||||
|
|
Loading…
Reference in a new issue