mirror of
https://github.com/coolsnowwolf/packages
synced 2025-01-07 07:07:02 +08:00
expat: don't build host libs
tools/expat is actually what's used by the various packages that supposedly depend on expat/host. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
93b05e6f70
commit
fff5c91bf7
@ -21,7 +21,7 @@ PKG_LICENSE:=GPL-1.0-or-later Artistic-1.0-Perl
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/perl/XML-Parser-$(PKG_VERSION)
|
||||
HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/perl/XML-Parser-$(PKG_VERSION)
|
||||
|
||||
HOST_BUILD_DEPENDS:=perl/host expat/host
|
||||
HOST_BUILD_DEPENDS:=perl/host
|
||||
|
||||
EXPAT_LIBPATH:=$(STAGING_DIR)/usr/lib
|
||||
EXPAT_INCPATH:=$(STAGING_DIR)/usr/include
|
||||
|
@ -43,7 +43,7 @@ PKG_CONFIG_DEPENDS:= \
|
||||
CONFIG_PACKAGE_python3-setuptools CONFIG_PACKAGE_python3-pip
|
||||
|
||||
PKG_BUILD_DEPENDS:=bluez python3/host
|
||||
HOST_BUILD_DEPENDS:=bzip2/host expat/host libffi/host
|
||||
HOST_BUILD_DEPENDS:=bzip2/host libffi/host
|
||||
|
||||
include $(INCLUDE_DIR)/host-build.mk
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
@ -21,7 +21,6 @@ PKG_CPE_ID:=cpe:/a:libexpat:expat
|
||||
CMAKE_INSTALL:=1
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
include $(INCLUDE_DIR)/host-build.mk
|
||||
include $(INCLUDE_DIR)/cmake.mk
|
||||
|
||||
define Package/libexpat
|
||||
@ -35,7 +34,7 @@ define Package/libexpat/description
|
||||
A fast, non-validating, stream-oriented XML parsing library.
|
||||
endef
|
||||
|
||||
OPTIONS += \
|
||||
CMAKE_OPTIONS += \
|
||||
-DDOCBOOK_TO_MAN=OFF \
|
||||
-DEXPAT_BUILD_TOOLS=OFF \
|
||||
-DEXPAT_BUILD_EXAMPLES=OFF \
|
||||
@ -47,13 +46,9 @@ OPTIONS += \
|
||||
-DEXPAT_NS=OFF \
|
||||
-DEXPAT_DEV_URANDOM=OFF
|
||||
|
||||
CMAKE_OPTIONS += $(OPTIONS)
|
||||
CMAKE_HOST_OPTIONS += $(OPTIONS)
|
||||
|
||||
define Package/libexpat/install
|
||||
$(INSTALL_DIR) $(1)/usr/lib
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libexpat.so.* $(1)/usr/lib/
|
||||
endef
|
||||
|
||||
$(eval $(call HostBuild))
|
||||
$(eval $(call BuildPackage,libexpat))
|
||||
$(eval $(call BuildPackage,libexpat))
|
||||
|
Loading…
Reference in New Issue
Block a user