annotate src/exiv2.mk @ 4143:e9a40603c054

expat: update to v2.1.1 * src/expat.mk: update version, checksum, use .bz2 file
author John Donoghue
date Mon, 23 May 2016 12:50:15 -0400
parents 13be64f9f16d
children 979f5b397e51
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
3b62d2016275 new package: exiv2
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
3
3b62d2016275 new package: exiv2
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
4 PKG := exiv2
3b62d2016275 new package: exiv2
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
5 $(PKG)_IGNORE :=
3480
13be64f9f16d move version info from index.html to src/*.mk files
John W. Eaton <jwe@octave.org>
parents: 3048
diff changeset
6 $(PKG)_VERSION := 0.23
2505
2a5b8ff1ff5c update package exiv2
Mark Brand <mabrand@mabrand.nl>
parents: 2365
diff changeset
7 $(PKG)_CHECKSUM := 5f342bf642477526f41add11d6ee7787cdcd639f
616
3b62d2016275 new package: exiv2
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
8 $(PKG)_SUBDIR := exiv2-$($(PKG)_VERSION)
3b62d2016275 new package: exiv2
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
9 $(PKG)_FILE := exiv2-$($(PKG)_VERSION).tar.gz
3b62d2016275 new package: exiv2
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
10 $(PKG)_URL := http://www.exiv2.org/$($(PKG)_FILE)
3048
5ef49fb3299d treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents: 3013
diff changeset
11 $(PKG)_DEPS := libiconv zlib expat
616
3b62d2016275 new package: exiv2
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
12
3b62d2016275 new package: exiv2
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
13 define $(PKG)_UPDATE
2525
4d0f3a9da57e all packages: use $(WGET) portability variable
Tony Theodore <tonyt@logyst.com>
parents: 2505
diff changeset
14 $(WGET) -q -O- 'http://www.exiv2.org/download.html' | \
616
3b62d2016275 new package: exiv2
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
15 grep 'href="exiv2-' | \
3b62d2016275 new package: exiv2
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
16 $(SED) -n 's,.*exiv2-\([0-9][^>]*\)\.tar.*,\1,p' | \
3b62d2016275 new package: exiv2
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
17 head -1
3b62d2016275 new package: exiv2
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
18 endef
3b62d2016275 new package: exiv2
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19
3b62d2016275 new package: exiv2
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
20 define $(PKG)_BUILD
3b62d2016275 new package: exiv2
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
21 cd '$(1)' && ./configure \
3013
bcc26ffe9a0f use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents: 3012
diff changeset
22 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
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) \
3012
100e618349f7 Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents: 2855
diff changeset
24 --prefix='$(HOST_PREFIX)' \
616
3b62d2016275 new package: exiv2
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
25 --disable-visibility \
3b62d2016275 new package: exiv2
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
26 --disable-nls \
3b62d2016275 new package: exiv2
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
27 --with-expat
3b62d2016275 new package: exiv2
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
28 $(MAKE) -C '$(1)/xmpsdk/src' -j '$(JOBS)'
3b62d2016275 new package: exiv2
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
29 $(MAKE) -C '$(1)/src' -j '$(JOBS)' install-lib
3b62d2016275 new package: exiv2
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
30 endef