annotate src/libxml++.mk @ 2842:f4572149c0fb

upgrade package libmxl2
author Mark Brand <mabrand@mabrand.nl>
date Mon, 05 Nov 2012 04:07:56 +0100
parents d7570a06e60e
children 47558e958113
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: 2315
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.
2126
18dc5e1dee6f new packages: libxml++ and llvm
Matthias Gehre <M.Gehre@gmx.de>
parents:
diff changeset
3
18dc5e1dee6f new packages: libxml++ and llvm
Matthias Gehre <M.Gehre@gmx.de>
parents:
diff changeset
4 PKG := libxml++
18dc5e1dee6f new packages: libxml++ and llvm
Matthias Gehre <M.Gehre@gmx.de>
parents:
diff changeset
5 $(PKG)_IGNORE :=
2842
f4572149c0fb upgrade package libmxl2
Mark Brand <mabrand@mabrand.nl>
parents: 2798
diff changeset
6 $(PKG)_CHECKSUM := 446714be0becb1d1bca914a9a545af96a24de26e
2126
18dc5e1dee6f new packages: libxml++ and llvm
Matthias Gehre <M.Gehre@gmx.de>
parents:
diff changeset
7 $(PKG)_SUBDIR := libxml++-$($(PKG)_VERSION)
2315
2b5ea5239144 update packages libgsf, libxml++
Tony Theodore <tonyt@logyst.com>
parents: 2136
diff changeset
8 $(PKG)_FILE := libxml++-$($(PKG)_VERSION).tar.xz
2126
18dc5e1dee6f new packages: libxml++ and llvm
Matthias Gehre <M.Gehre@gmx.de>
parents:
diff changeset
9 $(PKG)_URL := http://ftp.gnome.org/pub/GNOME/sources/libxml++/$(call SHORT_PKG_VERSION,$(PKG))/$($(PKG)_FILE)
18dc5e1dee6f new packages: libxml++ and llvm
Matthias Gehre <M.Gehre@gmx.de>
parents:
diff changeset
10 $(PKG)_DEPS := gcc libxml2 glibmm
18dc5e1dee6f new packages: libxml++ and llvm
Matthias Gehre <M.Gehre@gmx.de>
parents:
diff changeset
11
18dc5e1dee6f new packages: libxml++ and llvm
Matthias Gehre <M.Gehre@gmx.de>
parents:
diff changeset
12 define $(PKG)_UPDATE
2525
4d0f3a9da57e all packages: use $(WGET) portability variable
Tony Theodore <tonyt@logyst.com>
parents: 2365
diff changeset
13 $(WGET) -q -O- 'http://git.gnome.org/browse/libxml++/refs/tags' | \
2126
18dc5e1dee6f new packages: libxml++ and llvm
Matthias Gehre <M.Gehre@gmx.de>
parents:
diff changeset
14 grep '<a href=' | \
18dc5e1dee6f new packages: libxml++ and llvm
Matthias Gehre <M.Gehre@gmx.de>
parents:
diff changeset
15 $(SED) -n "s,.*<a href='[^']*/tag/?id=\\([0-9][^']*\\)'.*,\\1,p" | \
18dc5e1dee6f new packages: libxml++ and llvm
Matthias Gehre <M.Gehre@gmx.de>
parents:
diff changeset
16 head -1
18dc5e1dee6f new packages: libxml++ and llvm
Matthias Gehre <M.Gehre@gmx.de>
parents:
diff changeset
17 endef
18dc5e1dee6f new packages: libxml++ and llvm
Matthias Gehre <M.Gehre@gmx.de>
parents:
diff changeset
18
18dc5e1dee6f new packages: libxml++ and llvm
Matthias Gehre <M.Gehre@gmx.de>
parents:
diff changeset
19 define $(PKG)_BUILD
18dc5e1dee6f new packages: libxml++ and llvm
Matthias Gehre <M.Gehre@gmx.de>
parents:
diff changeset
20 cd '$(1)' && CXX="$(TARGET)-g++ -mthreads" ./configure \
18dc5e1dee6f new packages: libxml++ and llvm
Matthias Gehre <M.Gehre@gmx.de>
parents:
diff changeset
21 --host='$(TARGET)' \
2640
ce13ae8c8142 update package libxml++
Mark Brand <mabrand@mabrand.nl>
parents: 2525
diff changeset
22 --build="`config.guess`" \
2126
18dc5e1dee6f new packages: libxml++ and llvm
Matthias Gehre <M.Gehre@gmx.de>
parents:
diff changeset
23 --disable-shared \
2136
c9eb1ed6b965 package libxml++: portability fix for bsd make
Tony Theodore <tonyt@logyst.com>
parents: 2126
diff changeset
24 --prefix='$(PREFIX)/$(TARGET)' \
c9eb1ed6b965 package libxml++: portability fix for bsd make
Tony Theodore <tonyt@logyst.com>
parents: 2126
diff changeset
25 MAKE=$(MAKE)
2126
18dc5e1dee6f new packages: libxml++ and llvm
Matthias Gehre <M.Gehre@gmx.de>
parents:
diff changeset
26 $(MAKE) -C '$(1)' -j '$(JOBS)' bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
18dc5e1dee6f new packages: libxml++ and llvm
Matthias Gehre <M.Gehre@gmx.de>
parents:
diff changeset
27 $(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
18dc5e1dee6f new packages: libxml++ and llvm
Matthias Gehre <M.Gehre@gmx.de>
parents:
diff changeset
28 endef