Mercurial > mxe-octave
annotate src/exiv2.mk @ 2855:47558e958113
Allow static/shared libraries to be configured in top-level Makefile.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 15 Nov 2012 16:11:45 -0500 |
parents | 4d0f3a9da57e |
children | 100e618349f7 |
rev | line source |
---|---|
2333
f653602a0500
Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents:
2153
diff
changeset
|
1 # This file is part of MXE. |
2353
99516e73b368
Move doc/index.html -> index.html
Volker Grabsch <vog@notjusthosting.com>
parents:
2349
diff
changeset
|
2 # See index.html for further information. |
616 | 3 |
4 PKG := exiv2 | |
5 $(PKG)_IGNORE := | |
2505 | 6 $(PKG)_CHECKSUM := 5f342bf642477526f41add11d6ee7787cdcd639f |
616 | 7 $(PKG)_SUBDIR := exiv2-$($(PKG)_VERSION) |
8 $(PKG)_FILE := exiv2-$($(PKG)_VERSION).tar.gz | |
9 $(PKG)_URL := http://www.exiv2.org/$($(PKG)_FILE) | |
10 $(PKG)_DEPS := gcc libiconv zlib expat | |
11 | |
12 define $(PKG)_UPDATE | |
2525
4d0f3a9da57e
all packages: use $(WGET) portability variable
Tony Theodore <tonyt@logyst.com>
parents:
2505
diff
changeset
|
13 $(WGET) -q -O- 'http://www.exiv2.org/download.html' | \ |
616 | 14 grep 'href="exiv2-' | \ |
15 $(SED) -n 's,.*exiv2-\([0-9][^>]*\)\.tar.*,\1,p' | \ | |
16 head -1 | |
17 endef | |
18 | |
19 define $(PKG)_BUILD | |
20 cd '$(1)' && ./configure \ | |
21 --host='$(TARGET)' \ | |
2153
e4c83fa61a5b
replaced $(BUILD) with a more direct and less brittle construct
Volker Grabsch <vog@notjusthosting.com>
parents:
2148
diff
changeset
|
22 --build="`config.guess`" \ |
2855
47558e958113
Allow static/shared libraries to be configured in top-level Makefile.
John W. Eaton <jwe@octave.org>
parents:
2525
diff
changeset
|
23 $(ENABLE_SHARED_OR_STATIC) \ |
616 | 24 --prefix='$(PREFIX)/$(TARGET)' \ |
25 --disable-visibility \ | |
26 --disable-nls \ | |
27 --with-expat | |
28 $(MAKE) -C '$(1)/xmpsdk/src' -j '$(JOBS)' | |
29 $(MAKE) -C '$(1)/src' -j '$(JOBS)' install-lib | |
30 endef |