diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-cpp/libcutl/libcutl-1.10.0.ebuild | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-cpp/libcutl/libcutl-1.10.0.ebuild')
-rw-r--r-- | dev-cpp/libcutl/libcutl-1.10.0.ebuild | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/dev-cpp/libcutl/libcutl-1.10.0.ebuild b/dev-cpp/libcutl/libcutl-1.10.0.ebuild new file mode 100644 index 000000000000..b88f5363b9ee --- /dev/null +++ b/dev-cpp/libcutl/libcutl-1.10.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools flag-o-matic versionator + +DESCRIPTION="A collection of C++ libraries (successor of libcult)" +HOMEPAGE="https://www.codesynthesis.com/projects/libcutl/" +SRC_URI="https://www.codesynthesis.com/download/${PN}/$(get_version_component_range 1-2)/${P}.tar.bz2" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" +IUSE="" + +RDEPEND=" + dev-libs/expat + dev-libs/boost:=" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}"/${PN}-1.10.0-fix-c++14.patch + "${FILESDIR}"/${PN}-1.10.0-boost-1.65-tr1.patch +) + +src_prepare() { + default + + # remove bundled libs + rm -r cutl/details/{boost,expat} || die + + eautoreconf +} + +src_configure() { + # ensure <regex> works on GCC 5 and below + # bug 630016 + append-cxxflags -std=c++14 + + econf \ + --disable-static \ + --with-external-boost \ + --with-external-expat +} + +src_install() { + default + + # package provides .pc files + find "${D}" -name '*.la' -delete || die +} |