mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-29 22:28:08 -07:00
dev-cpp/libxsd-frontend: Version bump to 2.0.0
Gentoo-bug: 585738, 594542 * EAPI=6 Package-Manager: portage-2.3.2
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST libxsd-frontend-1.18.0.tar.bz2 66937 SHA256 78382d44ae0575fec04eb2e2e70c2bb751b49eb995aad725d3c2e9ee8ac98590 SHA512 fdff24659037d99ca37a15c2bc33a91e9864d2df20210c13230ab64c3c5ecd7aebefe5c7b3b316812d8f844ca38c297931d74d19a278bf986de80e2f0c54d223 WHIRLPOOL 94f092087f17b0694821ab1f7864fa80639c7daf73e6926d665365d624f46d69d1f74e0de4af901a399593bf52020311614c000d94160505a429728f0d3e2818
|
||||
DIST libxsd-frontend-2.0.0.tar.bz2 66784 SHA256 35ba30988c67bc4ce9278d869ec0a04305eabf55287456af34c66ebe3564bfda SHA512 8a296fdfe2e562237d46774b33ee82e8f67835b0869c03ffdf04570db1e6f398cf97734685d44c2207abbb73cea20b57e53c8fd80a121f98196c1c7d4bacbc68 WHIRLPOOL 44f75d2d394f3db4edf773b4f36f74982600f5e55a445c4d0e6eb6254c1150c3eaf18b87d343d1728eccb5f6f92cd8888d80f86a7dc01f513d476dda056e0f89
|
||||
|
||||
88
dev-cpp/libxsd-frontend/libxsd-frontend-2.0.0.ebuild
Normal file
88
dev-cpp/libxsd-frontend/libxsd-frontend-2.0.0.ebuild
Normal file
@@ -0,0 +1,88 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
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
|
||||
}
|
||||
@@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>dev-zero@gentoo.org</email>
|
||||
<name>Tiziano Müller</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>cpp@gentoo.org</email>
|
||||
<name>Gentoo C++ Project</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
|
||||
Reference in New Issue
Block a user