buildrootschalter/package/libungif/libungif.mk

26 lines
866 B
Makefile

#############################################################
#
# libungif
#
#############################################################
LIBUNGIF_VERSION = 4.1.4
LIBUNGIF_SOURCE = libungif-$(LIBUNGIF_VERSION).tar.bz2
LIBUNGIF_SITE = http://downloads.sourceforge.net/project/giflib/libungif-4.x/libungif-$(LIBUNGIF_VERSION)
LIBUNGIF_INSTALL_STAGING = YES
LIBUNGIF_CONF_OPT = --without-x
LIBUNGIF_BINS = gif2epsn gif2ps gif2rgb gif2x11 gifasm gifbg gifburst gifclip \
gifclrmp gifcolor gifcomb gifcompose giffiltr giffix gifflip \
gifhisto gifinfo gifinter gifinto gifovly gifpos gifrotat \
gifrsize gifspnge giftext gifwedge icon2gif raw2gif rgb2gif \
text2gif
define LIBUNGIF_BINS_CLEANUP
rm -f $(addprefix $(TARGET_DIR)/usr/bin/,$(LIBUNGIF_BINS))
endef
LIBUNGIF_POST_INSTALL_TARGET_HOOKS += LIBUNGIF_BINS_CLEANUP
$(eval $(autotools-package))