Mercurial > mxe-octave
annotate src/libxml++.mk @ 2987:eb1643bd900c
mk-dist: new argument, --no-strip
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 16 May 2013 13:32:37 -0400 |
parents | 47558e958113 |
children | 100e618349f7 |
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 | 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 | 22 --build="`config.guess`" \ |
2855
47558e958113
Allow static/shared libraries to be configured in top-level Makefile.
John W. Eaton <jwe@octave.org>
parents:
2842
diff
changeset
|
23 $(ENABLE_SHARED_OR_STATIC) \ |
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 |