From dc9d02a9145eefea7765c690422b2e5f4f9631f0 Mon Sep 17 00:00:00 2001 From: CN_SZTL Date: Fri, 3 Apr 2020 08:40:29 +0800 Subject: [PATCH] cups: fix package --- package/ctcgfw/cups/Makefile | 46 ++++++++++++++++++------------------ 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/package/ctcgfw/cups/Makefile b/package/ctcgfw/cups/Makefile index 76d69761ea..62df2e608e 100644 --- a/package/ctcgfw/cups/Makefile +++ b/package/ctcgfw/cups/Makefile @@ -95,17 +95,17 @@ define Package/cups-ppdc/description Common UNIX Printing System - PPDC utils endef -#define Package/libcups -#$(call Package/cups/Default) -# SECTION:=libs -# CATEGORY:=Libraries -# DEPENDS:=+zlib +libpthread +libpng +libjpeg -# TITLE:=Common UNIX Printing System - Core library -#endef +define Package/libcups +$(call Package/cups/Default) + SECTION:=libs + CATEGORY:=Libraries + DEPENDS:=+zlib +libpthread +libpng +libjpeg + TITLE:=Common UNIX Printing System - Core library +endef -#define Package/libcups/description -# Common UNIX Printing System - Core library -#endef +define Package/libcups/description + Common UNIX Printing System - Core library +endef define Package/libcupscgi $(call Package/cups/Default) @@ -275,10 +275,10 @@ define Package/cups-ppdc/install $(1)/usr/bin/ endef -#define Package/libcups/install -# $(INSTALL_DIR) $(1)/usr/lib -# $(CP) $(PKG_INSTALL_DIR)/usr/lib/libcups.so* $(1)/usr/lib/ -#endef +define Package/libcups/install + $(INSTALL_DIR) $(1)/usr/lib + $(CP) $(PKG_INSTALL_DIR)/usr/lib/libcups.so* $(1)/usr/lib/ +endef define Package/libcupscgi/install $(INSTALL_DIR) $(1)/usr/lib @@ -300,17 +300,17 @@ define Package/libcupsppdc/install $(CP) $(PKG_INSTALL_DIR)/usr/lib/libcupsppdc.so* $(1)/usr/lib/ endef -#define Build/InstallDev -# $(INSTALL_DIR) $(2)/bin -# $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/cups-config $(2)/bin/ -# $(INSTALL_DIR) $(1)/usr/include -# $(CP) $(PKG_INSTALL_DIR)/usr/include/cups $(1)/usr/include/ -# $(INSTALL_DIR) $(1)/usr/lib -# $(CP) $(PKG_INSTALL_DIR)/usr/lib/libcups*.so* $(1)/usr/lib/ -#endef +define Build/InstallDev + $(INSTALL_DIR) $(2)/bin + $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/cups-config $(2)/bin/ + $(INSTALL_DIR) $(1)/usr/include + $(CP) $(PKG_INSTALL_DIR)/usr/include/cups $(1)/usr/include/ + $(INSTALL_DIR) $(1)/usr/lib + $(CP) $(PKG_INSTALL_DIR)/usr/lib/libcups*.so* $(1)/usr/lib/ +endef $(eval $(call BuildPackage,cups)) -#$(eval $(call BuildPackage,libcups)) +$(eval $(call BuildPackage,libcups)) $(eval $(call BuildPackage,libcupscgi)) $(eval $(call BuildPackage,libcupsimage)) $(eval $(call BuildPackage,libcupsmime))