Mercurial > mxe-octave
annotate src/exiv2.mk @ 2505:2a5b8ff1ff5c
update package exiv2
author | Mark Brand <mabrand@mabrand.nl> |
---|---|
date | Sat, 05 May 2012 17:32:16 +0200 |
parents | b5321bdec505 |
children | 4d0f3a9da57e |
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 | |
13 wget -q -O- 'http://www.exiv2.org/download.html' | \ | |
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`" \ |
616 | 23 --disable-shared \ |
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 |