diff options
Diffstat (limited to 'dev-cpp/libcutl/libcutl-1.10.0.ebuild')
-rw-r--r-- | dev-cpp/libcutl/libcutl-1.10.0.ebuild | 43 |
1 files changed, 43 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..16152eb391e3 --- /dev/null +++ b/dev-cpp/libcutl/libcutl-1.10.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit versionator + +DESCRIPTION="A collection of C++ libraries (successor of libcult)" +HOMEPAGE="http://www.codesynthesis.com/projects/libcutl/" +SRC_URI="http://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" ) + +src_prepare() { + default + + # remove bundled libs + rm -r cutl/details/{boost,expat} || die +} + +src_configure() { + econf \ + --disable-static \ + --with-external-boost \ + --with-external-expat +} + +src_install() { + default + + # package provides .pc files + find "${D}" -name '*.la' -delete || die +} |