From 461ff1a9fd9a2ba324285c4d28bda0c0e1eb0239 Mon Sep 17 00:00:00 2001 From: Michael Pratt Date: Thu, 25 Aug 2022 15:49:13 -0400 Subject: [PATCH] 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 --- devel/flex/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/devel/flex/Makefile b/devel/flex/Makefile index 5f2c12e0..3b7d1ce1 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) \