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
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 :=
2505
2a5b8ff1ff5c update package exiv2
Mark Brand <mabrand@mabrand.nl>
parents: 2365
diff changeset
6 $(PKG)_CHECKSUM := 5f342bf642477526f41add11d6ee7787cdcd639f
616
3b62d2016275 new package: exiv2
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
7 $(PKG)_SUBDIR := exiv2-$($(PKG)_VERSION)
3b62d2016275 new package: exiv2
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
8 $(PKG)_FILE := exiv2-$($(PKG)_VERSION).tar.gz
3b62d2016275 new package: exiv2
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
9 $(PKG)_URL := http://www.exiv2.org/$($(PKG)_FILE)
3b62d2016275 new package: exiv2
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
10 $(PKG)_DEPS := gcc libiconv zlib expat
3b62d2016275 new package: exiv2
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
11
3b62d2016275 new package: exiv2
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
12 define $(PKG)_UPDATE
3b62d2016275 new package: exiv2
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
13 wget -q -O- 'http://www.exiv2.org/download.html' | \
3b62d2016275 new package: exiv2
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
14 grep 'href="exiv2-' | \
3b62d2016275 new package: exiv2
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
15 $(SED) -n 's,.*exiv2-\([0-9][^>]*\)\.tar.*,\1,p' | \
3b62d2016275 new package: exiv2
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
16 head -1
3b62d2016275 new package: exiv2
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
17 endef
3b62d2016275 new package: exiv2
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
18
3b62d2016275 new package: exiv2
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19 define $(PKG)_BUILD
3b62d2016275 new package: exiv2
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
20 cd '$(1)' && ./configure \
3b62d2016275 new package: exiv2
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
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
3b62d2016275 new package: exiv2
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
23 --disable-shared \
3b62d2016275 new package: exiv2
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
24 --prefix='$(PREFIX)/$(TARGET)' \
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