Mercurial > mxe-octave
view src/imagemagick.mk @ 1470:4665dcb71cd5
upgrade packages: freetype gst-plugins-base gst-plugins-good gstreamer imagemagick lcms libusb openssl x264
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Fri, 03 Dec 2010 00:13:55 +0100 |
parents | 8d43a215ea43 |
children | 586ad5c14f8b |
line wrap: on
line source
# This file is part of mingw-cross-env. # See doc/index.html for further information. # ImageMagick PKG := imagemagick $(PKG)_IGNORE := $(PKG)_VERSION := 6.6.6-2 $(PKG)_CHECKSUM := bc13934ac97db871d6daba929209269fcb37cb49 $(PKG)_SUBDIR := ImageMagick-$($(PKG)_VERSION) $(PKG)_FILE := ImageMagick-$($(PKG)_VERSION).tar.bz2 $(PKG)_WEBSITE := http://www.imagemagick.org/ $(PKG)_URL := http://ftp.nluug.nl/ImageMagick/$($(PKG)_FILE) $(PKG)_DEPS := gcc bzip2 ffmpeg fftw freetype jasper jpeg lcms libpng libtool openexr pthreads tiff zlib define $(PKG)_UPDATE wget -q -O- 'http://ftp.nluug.nl/ImageMagick/?C=M;O=D' | \ $(SED) -n 's,.*<a href="ImageMagick-\([0-9][^"]*\)\.tar.*,\1,p' | \ head -1 endef define $(PKG)_BUILD # wine confuses the cross-compiling detection, so set it explicitly $(SED) -i 's,cross_compiling=no,cross_compiling=yes,' '$(1)/configure' cd '$(1)' && ./configure \ --host='$(TARGET)' \ --prefix='$(PREFIX)/$(TARGET)' \ --disable-shared \ --with-x=no \ ac_cv_prog_freetype_config='$(PREFIX)/$(TARGET)/bin/freetype-config' $(MAKE) -C '$(1)' -j '$(JOBS)' bin_PROGRAMS= $(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= endef