summaryrefslogtreecommitdiff
path: root/dev-cpp/libxsd-frontend
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-cpp/libxsd-frontend
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-cpp/libxsd-frontend')
-rw-r--r--dev-cpp/libxsd-frontend/Manifest5
-rw-r--r--dev-cpp/libxsd-frontend/libxsd-frontend-2.0.0.ebuild87
-rw-r--r--dev-cpp/libxsd-frontend/metadata.xml8
3 files changed, 100 insertions, 0 deletions
diff --git a/dev-cpp/libxsd-frontend/Manifest b/dev-cpp/libxsd-frontend/Manifest
new file mode 100644
index 000000000000..908924faa1e9
--- /dev/null
+++ b/dev-cpp/libxsd-frontend/Manifest
@@ -0,0 +1,5 @@
+DIST libxsd-frontend-2.0.0.tar.bz2 66784 SHA256 35ba30988c67bc4ce9278d869ec0a04305eabf55287456af34c66ebe3564bfda SHA512 8a296fdfe2e562237d46774b33ee82e8f67835b0869c03ffdf04570db1e6f398cf97734685d44c2207abbb73cea20b57e53c8fd80a121f98196c1c7d4bacbc68 WHIRLPOOL 44f75d2d394f3db4edf773b4f36f74982600f5e55a445c4d0e6eb6254c1150c3eaf18b87d343d1728eccb5f6f92cd8888d80f86a7dc01f513d476dda056e0f89
+EBUILD libxsd-frontend-2.0.0.ebuild 2140 SHA256 50f9dbfb45af092c254571afba416d40789167bfaaa2b247fd91c628b539f478 SHA512 9a24be12b66871caf630974823793f7606d424efce8742572172c36fc88fca322533543ccc1aebbe81d1cf4e4fd54334b6af6c7d24e1e46e85c1eee7ecfde44d WHIRLPOOL 8591f156d5f713c16fe110f862f55ca855e0b38642e322f37bc275d947b82e05777e3b0011f27acef8f653839e89370f4dfd8fa00ce4b44d21bbdca7916ea5d4
+MISC ChangeLog 2908 SHA256 c67e1687e0efd6c4c0e8f84c489a63d5f9c3b314cd5cdaf251abd291eba84cd7 SHA512 6e631ba60fe31510c3af6fbd074a2fd20c8492dc63722f34c322c49ff1fbe86ef7c293036fe448a86f8e2d58fc7e866828f1074fcfaa67917e444e4a0f7763e2 WHIRLPOOL 40ea15d423c0a0b1985cc3323fecf7ca6b8b62409fc616bb0084368193ae632ffce32c86a1f7412defc3b25436c59e8df1d4436952403dd56f3350c2e93588c2
+MISC ChangeLog-2015 3555 SHA256 9dfeaeca9a7aea34c45fa8c4bf6076b4a77cae6fdb26f3c991e289201227328d SHA512 7adefbdda180adb08f5362127d9d9d9f57ee483acf5b80687b29849e71be36158a9b5a493766e9acb61fa23a9c8db08d48d37c498fdfbfe5bcadb340bc62833e WHIRLPOOL 1158169b63328cfe67dc6d3a21771d5229604037587db3499ad2d60eecbc22aecc006514dc980f0e2a2ac5f532f3503dc663255f32de9c60689f4af22cb9bf6a
+MISC metadata.xml 249 SHA256 61486b4cff6de2a1836eafc04bbbbf33cdc826b48b6a39d61e802dd4b223a82b SHA512 0b2b2d015d6d3310efdedc20cd12cb2f587c105f1e84b243d3a7dc6337dde082c16683781eba9a0cb09341756f10f651579df35837ee232309a97017ec02cbee WHIRLPOOL 5a337f74ddddf4b9843f8b2950990f44f843627ae72b1dabf3b0ad09df9704bb96c0571af55fd754ddbf9e8bd77ff0ee9023126c717a5cf4553b5f1f8cede310
diff --git a/dev-cpp/libxsd-frontend/libxsd-frontend-2.0.0.ebuild b/dev-cpp/libxsd-frontend/libxsd-frontend-2.0.0.ebuild
new file mode 100644
index 000000000000..c456de58e936
--- /dev/null
+++ b/dev-cpp/libxsd-frontend/libxsd-frontend-2.0.0.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs versionator
+
+DESCRIPTION="A compiler frontend for the W3C XML Schema definition language"
+HOMEPAGE="http://www.codesynthesis.com/projects/libxsd-frontend/"
+SRC_URI="http://www.codesynthesis.com/download/${PN}/$(get_version_component_range 1-2)/${P}.tar.bz2"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
+IUSE=""
+
+RDEPEND="
+ >=dev-libs/xerces-c-3.0.0
+ dev-libs/boost:=[threads]
+ dev-cpp/libcutl"
+DEPEND="${RDEPEND}
+ >=dev-util/build-0.3.10"
+
+src_configure() {
+ mkdir -p \
+ build/{ld,cxx/gnu} \
+ build/import/lib{boost,cult,frontend-elements,xerces-c} || die
+
+ cat >> build/cxx/configuration-dynamic.make <<- EOF || die
+ cxx_id := gnu
+ cxx_optimize := n
+ cxx_debug := n
+ cxx_rpath := n
+ cxx_pp_extra_options :=
+ cxx_extra_options := ${CXXFLAGS}
+ cxx_ld_extra_options := ${LDFLAGS}
+ cxx_extra_libs :=
+ cxx_extra_lib_paths :=
+ EOF
+
+ cat >> build/cxx/gnu/configuration-dynamic.make <<- EOF || die
+ cxx_gnu := $(tc-getCXX)
+ cxx_gnu_libraries :=
+ cxx_gnu_optimization_options :=
+ EOF
+
+ cat >> build/ld/configuration-lib-dynamic.make <<- EOF || die
+ ld_lib_type := shared
+ EOF
+
+ # boost
+ cat >> build/import/libboost/configuration-dynamic.make <<- EOF || die
+ libboost_installed := y
+ libboost_system := y
+ EOF
+
+ # libcutl
+ cat >> build/import/libcutl/configuration-dynamic.make <<- EOF || die
+ libcutl_installed := y
+ EOF
+
+ # xerces-c
+ cat >> build/import/libxerces-c/configuration-dynamic.make <<- EOF || die
+ libxerces_c_installed := y
+ EOF
+}
+
+src_compile() {
+ emake verbose=1
+}
+
+src_install() {
+ einstalldocs
+
+ dolib.so xsd-frontend/libxsd-frontend.so
+
+ # clean header dir of build files
+ find xsd-frontend \( -iname '*.cxx' -o -iname 'makefile*' \
+ -o -iname '*.o' -o -iname '*.d' -o -iname '*.m4' -o -iname '*.l' \
+ -o -iname '*.cpp-options' -o -iname '*.so' \) -exec rm -rf '{}' + || die
+ rm -rf xsd-frontend/arch || die
+ doheader -r xsd-frontend
+}
+
+src_test() {
+ export LD_LIBRARY_PATH="${S}/xsd-frontend:${LD_LIBRARY_PATH}"
+ default
+}
diff --git a/dev-cpp/libxsd-frontend/metadata.xml b/dev-cpp/libxsd-frontend/metadata.xml
new file mode 100644
index 000000000000..d4905c84fc34
--- /dev/null
+++ b/dev-cpp/libxsd-frontend/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>cpp@gentoo.org</email>
+ <name>Gentoo C++ Project</name>
+ </maintainer>
+</pkgmetadata>