kumquat-buildroot/package/giflib/giflib.mk
Bernd Kuhls 9384b87f28 package/giflib: New package
This package will replace libungif.

Needed for Kodi 15.0, TexturePacker depends on giflib >= 5.0.5
https://github.com/xbmc/xbmc/blob/master/tools/depends/native/TexturePacker/src/configure.ac#L29

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-01-27 16:01:14 +01:00

29 lines
914 B
Makefile

################################################################################
#
# giflib
#
################################################################################
GIFLIB_VERSION = 5.1.1
GIFLIB_SOURCE = giflib-$(GIFLIB_VERSION).tar.bz2
GIFLIB_SITE = http://downloads.sourceforge.net/project/giflib
GIFLIB_INSTALL_STAGING = YES
GIFLIB_LICENSE = MIT
GIFLIB_LICENSE_FILES = COPYING
GIFLIB_BINS = \
gif2epsn gif2ps gif2rgb gif2x11 gifasm gifbg gifbuild gifburst gifclip \
gifclrmp gifcolor gifcomb gifcompose gifecho giffiltr giffix gifflip \
gifhisto gifinfo gifinter gifinto gifovly gifpos gifrotat \
gifrsize gifspnge giftext giftool gifwedge icon2gif raw2gif rgb2gif \
text2gif
define GIFLIB_BINS_CLEANUP
rm -f $(addprefix $(TARGET_DIR)/usr/bin/,$(GIFLIB_BINS))
endef
GIFLIB_POST_INSTALL_TARGET_HOOKS += GIFLIB_BINS_CLEANUP
$(eval $(autotools-package))
$(eval $(host-autotools-package))