Mercurial > mxe-octave
diff src/giflib.mk @ 151:0f1fe7c7ab35
translated package: giflib
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Sat, 08 Nov 2008 21:09:55 +0100 |
parents | |
children | 1330f7f6686d |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/giflib.mk Sat Nov 08 21:09:55 2008 +0100 @@ -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