[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Mingw-cross-env-list] new package: libxml++
From: |
Matthias Gehre |
Subject: |
[Mingw-cross-env-list] new package: libxml++ |
Date: |
Sun, 20 Nov 2011 02:42:14 +0100 |
Hi,
maybe it is useful to someone.
Best wishes,
Matthias
--- /dev/null 2011-11-19 20:03:07.920785168 +0100
+++ src/libxml++.mk 2011-11-19 23:13:23.822547009 +0100
@@ -0,0 +1,29 @@
+# This file is part of mingw-cross-env.
+# See doc/index.html for further information.
+
+# libxml2
+PKG := libxml++
+$(PKG)_IGNORE :=
+$(PKG)_VERSION := 2.34.2
+$(PKG)_CHECKSUM := 466740a4d384ea5eefc1adbcae95e7c723a74038
+$(PKG)_SUBDIR := libxml++-$($(PKG)_VERSION)
+$(PKG)_FILE := libxml++-$($(PKG)_VERSION).tar.bz2
+$(PKG)_WEBSITE := http://libxmlplusplus.sourceforge.net/
+$(PKG)_URL :=
http://ftp.gnome.org/pub/GNOME/sources/libxml++/$(call
SHORT_PKG_VERSION,$(PKG))/$($(PKG)_FILE)
+$(PKG)_DEPS := gcc libxml2 glibmm
+
+define $(PKG)_UPDATE
+ wget -q -O- 'http://git.gnome.org/browse/libxml++/refs/tags' | \
+ grep '<a href=' | \
+ $(SED) -n "s,.*<a href='[^']*/tag/?id=\\([0-9][^']*\\)'.*,\\1,p" | \
+ head -1
+endef
+
+define $(PKG)_BUILD
+ cd '$(1)' && CXX="$(TARGET)-g++ -mthreads" ./configure \
+ --host='$(TARGET)' \
+ --disable-shared \
+ --prefix='$(PREFIX)/$(TARGET)'
+ $(MAKE) -C '$(1)' -j '$(JOBS)' bin_PROGRAMS= sbin_PROGRAMS=
noinst_PROGRAMS=
+ $(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= sbin_PROGRAMS=
noinst_PROGRAMS=
+endef
- [Mingw-cross-env-list] new package: libxml++,
Matthias Gehre <=
- Re: [Mingw-cross-env-list] new package: libxml++, René Berber, 2011/11/23
- Re: [Mingw-cross-env-list] new package: libxml++, Matthias Gehre, 2011/11/23
- Re: [Mingw-cross-env-list] new package: libxml++, Tony Theodore, 2011/11/24
- Re: [Mingw-cross-env-list] new package: libxml++, Volker Grabsch, 2011/11/25
- Re: [Mingw-cross-env-list] new package: libxml++, Matthias Gehre, 2011/11/25
- Re: [Mingw-cross-env-list] new package: libxml++, Tony Theodore, 2011/11/25
- Re: [Mingw-cross-env-list] new package: libxml++, Matthias Gehre, 2011/11/25
- Re: [Mingw-cross-env-list] new package: libxml++, Volker Grabsch, 2011/11/25