diff options
author | Rosen Penev <rosenp@gmail.com> | 2019-08-18 16:40:00 -0700 |
---|---|---|
committer | Rosen Penev <rosenp@gmail.com> | 2019-08-18 16:41:42 -0700 |
commit | 3f19592ef9e494b361fdf48b6857d1bc63ff9f3b (patch) | |
tree | ff00b4451cb62466572e4dddbbbf828554e808b6 /libs/giflib | |
parent | b75c6de359896d46cffa6f9c883d8c22e9d2661a (diff) |
giflib: Add utilities package
As requested in #9756
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'libs/giflib')
-rw-r--r-- | libs/giflib/Makefile | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/libs/giflib/Makefile b/libs/giflib/Makefile index 6897c1c96..b59e37ffe 100644 --- a/libs/giflib/Makefile +++ b/libs/giflib/Makefile @@ -39,6 +39,17 @@ define Package/giflib/description the LZW compression algorithm was patented. endef +define Package/giflib-utils + SECTION:=utils + CATEGORY:=Utilities + TITLE:=GIF utilities + URL:=https://sourceforge.net/projects/giflib +endef + +define Package/giflib-utils/description + These are the utilities that come with giflib. +endef + TARGET_CFLAGS += -ffunction-sections -fdata-sections $(FPIC) TARGET_LDFLAGS += -Wl,--gc-sections,--as-needed @@ -59,5 +70,11 @@ define Package/giflib/install $(CP) $(PKG_INSTALL_DIR)/usr/lib/libgif.so* $(1)/usr/lib endef +define Package/giflib-utils/install + $(INSTALL_DIR) $(1)/usr/bin + $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin +endef + $(eval $(call HostBuild)) $(eval $(call BuildPackage,giflib)) +$(eval $(call BuildPackage,giflib-utils)) |