From eee09ae1876caf4f30dd2d7886750607a39d541a Mon Sep 17 00:00:00 2001 From: Volker Grabsch Date: Sat, 8 Nov 2008 21:09:55 +0100 Subject: translated package: giflib --- src/giflib.mk | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 src/giflib.mk diff --git a/src/giflib.mk b/src/giflib.mk new file mode 100644 index 0000000..93de229 --- /dev/null +++ b/src/giflib.mk @@ -0,0 +1,26 @@ +# giflib +# http://sourceforge.net/projects/libungif/ + +PKG := giflib +$(PKG)_VERSION := 4.1.6 +$(PKG)_SUBDIR := giflib-$($(PKG)_VERSION) +$(PKG)_FILE := giflib-$($(PKG)_VERSION).tar.bz2 +$(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/giflib/$($(PKG)_FILE) +$(PKG)_DEPS := gcc + +define $(PKG)_UPDATE + wget -q -O- 'http://sourceforge.net/project/showfiles.php?group_id=102202&package_id=119585' | \ + grep 'giflib-' | \ + $(SED) -n 's,.*giflib-\([0-9][^>]*\)\.tar.*,\1,p' | \ + head -1 +endef + +define $(PKG)_BUILD + $(SED) 's,u_int32_t,unsigned int,' -i '$(1)/configure' + cd '$(1)' && ./configure \ + --host='$(TARGET)' \ + --disable-shared \ + --prefix='$(PREFIX)/$(TARGET)' \ + --without-x + $(MAKE) -C '$(1)/lib' -j '$(JOBS)' install +endef -- cgit v0.12