annotate src/libxml++.mk @ 2349:f48c5b085a38

Move $(PKG)_VERSION and $(PKG)_WEBSITE from src/*.mk into doc/index.html
author Volker Grabsch <vog@notjusthosting.com>
date Thu, 29 Mar 2012 11:07:07 +0200
parents f653602a0500
children 99516e73b368
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.
2126
18dc5e1dee6f new packages: libxml++ and llvm
Matthias Gehre <M.Gehre@gmx.de>
parents:
diff changeset
2 # See doc/index.html for further information.
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 # libxml2
18dc5e1dee6f new packages: libxml++ and llvm
Matthias Gehre <M.Gehre@gmx.de>
parents:
diff changeset
5 PKG := libxml++
18dc5e1dee6f new packages: libxml++ and llvm
Matthias Gehre <M.Gehre@gmx.de>
parents:
diff changeset
6 $(PKG)_IGNORE :=
2315
2b5ea5239144 update packages libgsf, libxml++
Tony Theodore <tonyt@logyst.com>
parents: 2136
diff changeset
7 $(PKG)_CHECKSUM := 112d6e26a8ce1426aa8931f26ea593484b2081f0
2126
18dc5e1dee6f new packages: libxml++ and llvm
Matthias Gehre <M.Gehre@gmx.de>
parents:
diff changeset
8 $(PKG)_SUBDIR := libxml++-$($(PKG)_VERSION)
2315
2b5ea5239144 update packages libgsf, libxml++
Tony Theodore <tonyt@logyst.com>
parents: 2136
diff changeset
9 $(PKG)_FILE := libxml++-$($(PKG)_VERSION).tar.xz
2126
18dc5e1dee6f new packages: libxml++ and llvm
Matthias Gehre <M.Gehre@gmx.de>
parents:
diff changeset
10 $(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
11 $(PKG)_DEPS := gcc libxml2 glibmm
18dc5e1dee6f new packages: libxml++ and llvm
Matthias Gehre <M.Gehre@gmx.de>
parents:
diff changeset
12
18dc5e1dee6f new packages: libxml++ and llvm
Matthias Gehre <M.Gehre@gmx.de>
parents:
diff changeset
13 define $(PKG)_UPDATE
18dc5e1dee6f new packages: libxml++ and llvm
Matthias Gehre <M.Gehre@gmx.de>
parents:
diff changeset
14 wget -q -O- 'http://git.gnome.org/browse/libxml++/refs/tags' | \
18dc5e1dee6f new packages: libxml++ and llvm
Matthias Gehre <M.Gehre@gmx.de>
parents:
diff changeset
15 grep '<a href=' | \
18dc5e1dee6f new packages: libxml++ and llvm
Matthias Gehre <M.Gehre@gmx.de>
parents:
diff changeset
16 $(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
17 head -1
18dc5e1dee6f new packages: libxml++ and llvm
Matthias Gehre <M.Gehre@gmx.de>
parents:
diff changeset
18 endef
18dc5e1dee6f new packages: libxml++ and llvm
Matthias Gehre <M.Gehre@gmx.de>
parents:
diff changeset
19
18dc5e1dee6f new packages: libxml++ and llvm
Matthias Gehre <M.Gehre@gmx.de>
parents:
diff changeset
20 define $(PKG)_BUILD
18dc5e1dee6f new packages: libxml++ and llvm
Matthias Gehre <M.Gehre@gmx.de>
parents:
diff changeset
21 cd '$(1)' && CXX="$(TARGET)-g++ -mthreads" ./configure \
18dc5e1dee6f new packages: libxml++ and llvm
Matthias Gehre <M.Gehre@gmx.de>
parents:
diff changeset
22 --host='$(TARGET)' \
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