|
@ -20,7 +20,6 @@ PKG_CPE_ID:=cpe:/a:libexpat:expat |
|
|
|
|
|
|
|
|
CMAKE_INSTALL:=1 |
|
|
CMAKE_INSTALL:=1 |
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/host-build.mk |
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk |
|
|
include $(INCLUDE_DIR)/package.mk |
|
|
include $(INCLUDE_DIR)/cmake.mk |
|
|
include $(INCLUDE_DIR)/cmake.mk |
|
|
|
|
|
|
|
@ -35,7 +34,7 @@ define Package/libexpat/description |
|
|
A fast, non-validating, stream-oriented XML parsing library. |
|
|
A fast, non-validating, stream-oriented XML parsing library. |
|
|
endef |
|
|
endef |
|
|
|
|
|
|
|
|
OPTIONS += \
|
|
|
|
|
|
|
|
|
CMAKE_OPTIONS += \
|
|
|
-DDOCBOOK_TO_MAN=OFF \
|
|
|
-DDOCBOOK_TO_MAN=OFF \
|
|
|
-DEXPAT_BUILD_TOOLS=OFF \
|
|
|
-DEXPAT_BUILD_TOOLS=OFF \
|
|
|
-DEXPAT_BUILD_EXAMPLES=OFF \
|
|
|
-DEXPAT_BUILD_EXAMPLES=OFF \
|
|
@ -47,13 +46,9 @@ OPTIONS += \ |
|
|
-DEXPAT_NS=OFF \
|
|
|
-DEXPAT_NS=OFF \
|
|
|
-DEXPAT_DEV_URANDOM=OFF |
|
|
-DEXPAT_DEV_URANDOM=OFF |
|
|
|
|
|
|
|
|
CMAKE_OPTIONS += $(OPTIONS) |
|
|
|
|
|
CMAKE_HOST_OPTIONS += $(OPTIONS) |
|
|
|
|
|
|
|
|
|
|
|
define Package/libexpat/install |
|
|
define Package/libexpat/install |
|
|
$(INSTALL_DIR) $(1)/usr/lib |
|
|
$(INSTALL_DIR) $(1)/usr/lib |
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libexpat.so.* $(1)/usr/lib/ |
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libexpat.so.* $(1)/usr/lib/ |
|
|
endef |
|
|
endef |
|
|
|
|
|
|
|
|
$(eval $(call HostBuild)) |
|
|
|
|
|
$(eval $(call BuildPackage,libexpat)) |
|
|
$(eval $(call BuildPackage,libexpat)) |