|
@ -17,7 +17,6 @@ PKG_MAINTAINER:= |
|
|
PKG_LICENSE:=MIT |
|
|
PKG_LICENSE:=MIT |
|
|
PKG_LICENSE_FILES:=LICENSE |
|
|
PKG_LICENSE_FILES:=LICENSE |
|
|
|
|
|
|
|
|
CMAKE_INSTALL:=1 |
|
|
|
|
|
PKG_BUILD_PARALLEL:=1 |
|
|
PKG_BUILD_PARALLEL:=1 |
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk |
|
|
include $(INCLUDE_DIR)/package.mk |
|
@ -43,4 +42,10 @@ endef |
|
|
|
|
|
|
|
|
TARGET_CXXFLAGS += -flto |
|
|
TARGET_CXXFLAGS += -flto |
|
|
|
|
|
|
|
|
|
|
|
define Build/InstallDev |
|
|
|
|
|
$(call Build/InstallDev/cmake,$(1)) |
|
|
|
|
|
$(SED) 's,/usr/include,$$$${prefix}/include,g' $(1)/usr/lib/pkgconfig/pugixml.pc |
|
|
|
|
|
$(SED) 's,/usr/lib,$$$${exec_prefix}/lib,g' $(1)/usr/lib/pkgconfig/pugixml.pc |
|
|
|
|
|
endef |
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,pugixml)) |
|
|
$(eval $(call BuildPackage,pugixml)) |