comparison src/freeimage.mk @ 761:a15ef607412d

new package: freeimage
author Mark Brand <mabrand@mabrand.nl>
date Tue, 16 Feb 2010 12:22:34 +0100
parents
children 0083728da7ee
comparison
equal deleted inserted replaced
760:4dc8edb4c4dd 761:a15ef607412d
1 # This file is part of mingw-cross-env.
2 # See doc/index.html for further information.
3
4 # FreeImage
5 PKG := freeimage
6 $(PKG)_IGNORE :=
7 $(PKG)_VERSION := 3131
8 $(PKG)_CHECKSUM := 52ba4453aa9682c57104c3420e58f843aaa6ab61
9 $(PKG)_SUBDIR := FreeImage
10 $(PKG)_FILE := FreeImage$($(PKG)_VERSION).zip
11 $(PKG)_WEBSITE := http://freeimage.sourceforge.net/
12 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/freeimage/$($(PKG)_FILE)
13 $(PKG)_DEPS := gcc
14
15 define $(PKG)_UPDATE
16 echo Update not implemented.
17 endef
18
19 define $(PKG)_BUILD
20 $(MAKE) -C '$(1)' -j '$(JOBS)' -f Makefile.gnu \
21 CXX='$(TARGET)-g++' \
22 CC='$(TARGET)-gcc' \
23 AR='$(TARGET)-ar' \
24 INCDIR='$(PREFIX)/$(TARGET)/include' \
25 INSTALLDIR='$(PREFIX)/$(TARGET)/lib'
26
27 $(MAKE) -C '$(1)' -j '$(JOBS)' -f Makefile.gnu install \
28 CXX='$(TARGET)-g++' \
29 CC='$(TARGET)-gcc' \
30 AR='$(TARGET)-ar' \
31 INCDIR='$(PREFIX)/$(TARGET)/include' \
32 INSTALLDIR='$(PREFIX)/$(TARGET)/lib'
33 endef