From: Michael Pratt Date: Thu, 25 Aug 2022 19:49:13 +0000 (-0400) Subject: flex: install dev files to staging X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=ac45a7455120e870af597eb020ef2dc8c84873a7;p=openwrt-packages.git flex: install dev files to staging Provide the library and headers for flex in the staging directory for the target build of packages that depend on lexical functions. Signed-off-by: Michael Pratt --- diff --git a/devel/flex/Makefile b/devel/flex/Makefile index 5f2c12e0c..3b7d1ce1c 100644 --- a/devel/flex/Makefile +++ b/devel/flex/Makefile @@ -36,6 +36,12 @@ endef CONFIGURE_ARGS += --disable-shared --disable-bootstrap +define Build/InstallDev + $(INSTALL_DIR) $(1)/usr/include $(1)/usr/lib + $(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/ + $(CP) $(PKG_INSTALL_DIR)/usr/lib/* $(1)/usr/lib/ +endef + define Package/flex/install $(INSTALL_DIR) $(1)/usr/bin/ $(CP) \