Gentoo Archives: gentoo-commits

From: "Tiziano Mueller (dev-zero)" <dev-zero@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-cpp/libxsd-frontend: libxsd-frontend-1.18.0.ebuild ChangeLog
Date: Fri, 01 Jun 2012 20:51:13
Message-Id: 20120601205059.0A0FA2004B@flycatcher.gentoo.org
1 dev-zero 12/06/01 20:50:59
2
3 Modified: ChangeLog
4 Added: libxsd-frontend-1.18.0.ebuild
5 Log:
6 Version and EAPI bump, pass the boost-filesystem-2 definition to build's pp options instead of using append-flags.
7
8 (Portage version: 2.1.10.56/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.3 dev-cpp/libxsd-frontend/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-cpp/libxsd-frontend/ChangeLog?rev=1.3&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-cpp/libxsd-frontend/ChangeLog?rev=1.3&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-cpp/libxsd-frontend/ChangeLog?r1=1.2&r2=1.3
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-cpp/libxsd-frontend/ChangeLog,v
20 retrieving revision 1.2
21 retrieving revision 1.3
22 diff -u -r1.2 -r1.3
23 --- ChangeLog 4 Aug 2011 10:25:18 -0000 1.2
24 +++ ChangeLog 1 Jun 2012 20:50:58 -0000 1.3
25 @@ -1,6 +1,13 @@
26 # ChangeLog for dev-cpp/libxsd-frontend
27 -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libxsd-frontend/ChangeLog,v 1.2 2011/08/04 10:25:18 hwoarang Exp $
29 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libxsd-frontend/ChangeLog,v 1.3 2012/06/01 20:50:58 dev-zero Exp $
31 +
32 +*libxsd-frontend-1.18.0 (01 Jun 2012)
33 +
34 + 01 Jun 2012; Tiziano Müller <dev-zero@g.o>
35 + +libxsd-frontend-1.18.0.ebuild:
36 + Version and EAPI bump, pass the boost-filesystem-2 definition to build's pp
37 + options instead of using append-flags.
38
39 04 Aug 2011; Markos Chandras <hwoarang@g.o>
40 libxsd-frontend-1.17.0.ebuild:
41
42
43
44 1.1 dev-cpp/libxsd-frontend/libxsd-frontend-1.18.0.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-cpp/libxsd-frontend/libxsd-frontend-1.18.0.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-cpp/libxsd-frontend/libxsd-frontend-1.18.0.ebuild?rev=1.1&content-type=text/plain
48
49 Index: libxsd-frontend-1.18.0.ebuild
50 ===================================================================
51 # Copyright 1999-2012 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/dev-cpp/libxsd-frontend/libxsd-frontend-1.18.0.ebuild,v 1.1 2012/06/01 20:50:58 dev-zero Exp $
54
55 EAPI="4"
56
57 inherit toolchain-funcs versionator
58
59 DESCRIPTION="A compiler frontend for the W3C XML Schema definition language."
60 HOMEPAGE="http://www.codesynthesis.com/projects/libxsd-frontend/"
61 SRC_URI="http://www.codesynthesis.com/download/${PN}/$(get_version_component_range 1-2)/${P}.tar.bz2"
62 LICENSE="GPL-2"
63 SLOT="0"
64 KEYWORDS="~amd64 ~x86"
65 IUSE=""
66
67 RDEPEND=">=dev-libs/xerces-c-3
68 dev-libs/boost
69 >=dev-cpp/libcult-1.4.6-r1
70 >=dev-cpp/libfrontend-elements-1.1.4"
71 DEPEND="${RDEPEND}
72 dev-util/build:0.3"
73
74 src_configure() {
75 BOOST_PKG="$(best_version ">=dev-libs/boost-1.35.0-r5")"
76 BOOST_VER="$(get_version_component_range 1-2 "${BOOST_PKG/*boost-/}")"
77 BOOST_VER="$(replace_all_version_separators _ "${BOOST_VER}")"
78 BOOST_INC="/usr/include/boost-${BOOST_VER}"
79
80 mkdir -p \
81 build/{ld,cxx/gnu} \
82 build/import/lib{boost,cult,frontend-elements,xerces-c}
83
84 cat >> build/cxx/configuration-dynamic.make <<- EOF
85 cxx_id := gnu
86 cxx_optimize := n
87 cxx_debug := n
88 cxx_rpath := n
89 cxx_pp_extra_options := -DBOOST_FILESYSTEM_VERSION=2
90 cxx_extra_options := ${CXXFLAGS} -I${BOOST_INC}
91 cxx_ld_extra_options := ${LDFLAGS}
92 cxx_extra_libs :=
93 cxx_extra_lib_paths :=
94 EOF
95
96 cat >> build/cxx/gnu/configuration-dynamic.make <<- EOF
97 cxx_gnu := $(tc-getCXX)
98 cxx_gnu_libraries :=
99 cxx_gnu_optimization_options :=
100 EOF
101
102 cat >> build/import/libboost/configuration-dynamic.make <<- EOF
103 libboost_installed := y
104 libboost_suffix := -mt-${BOOST_VER}
105 EOF
106 cat >> build/import/libcult/configuration-dynamic.make <<- EOF
107 libcult_installed := y
108 EOF
109
110 cat >> build/ld/configuration-lib-dynamic.make <<- EOF
111 ld_lib_type := shared
112 EOF
113
114 cat >> build/import/libfrontend-elements/configuration-dynamic.make <<- EOF
115 libfrontend_elements_installed := y
116 EOF
117
118 cat >> build/import/libxerces-c/configuration-dynamic.make <<- EOF
119 libxerces_c_installed := y
120 EOF
121
122 MAKEOPTS+=" verbose=1"
123 }
124
125 src_install() {
126 dolib.so xsd-frontend/libxsd-frontend.so
127
128 find xsd-frontend -iname "*.cxx" \
129 -o -iname "makefile" \
130 -o -iname "*.o" -o -iname "*.d" \
131 -o -iname "*.m4" -o -iname "*.l" \
132 -o -iname "*.cpp-options" -o -iname "*.so" | xargs rm -f
133 rm -rf xsd-frontend/arch
134
135 insinto /usr/include
136 doins -r xsd-frontend
137
138 dodoc NEWS README
139 }
140
141 src_test() {
142 export LD_LIBRARY_PATH="${S}/xsd-frontend:${LD_LIBRARY_PATH}"
143 default
144 }