kumquat-buildroot/package/libungif/libungif.mk
Thomas Petazzoni 90710e0c22 libungif: convert old-style hook to new-style hook
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-09-12 19:24:58 +02:00

27 lines
890 B
Makefile

#############################################################
#
# libungif
#
#############################################################
LIBUNGIF_VERSION:=4.1.4
LIBUNGIF_SOURCE:=libungif-$(LIBUNGIF_VERSION).tar.bz2
LIBUNGIF_SITE:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/giflib
LIBUNGIF_INSTALL_STAGING = YES
LIBUNGIF_INSTALL_TARGET = 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 $(call AUTOTARGETS,package,libungif))