summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2016-10-15 12:48:25 +0200
committerDavid Seifert <soap@gentoo.org>2016-10-15 13:47:48 +0200
commitd4a343c2ce203f42978599f260fe53ef5f6c55e5 (patch)
treeea758cd953eedaec149cca4192e20d633397f8b0 /dev-cpp/libcutl/libcutl-1.10.0.ebuild
parentdev-libs/xerces-c: Version bump to 3.1.4 (diff)
downloadgentoo-d4a343c2ce203f42978599f260fe53ef5f6c55e5.tar.gz
gentoo-d4a343c2ce203f42978599f260fe53ef5f6c55e5.tar.bz2
gentoo-d4a343c2ce203f42978599f260fe53ef5f6c55e5.zip
dev-cpp/libcutl: New package (successor of dev-cpp/libcult)
Package-Manager: portage-2.3.2
Diffstat (limited to 'dev-cpp/libcutl/libcutl-1.10.0.ebuild')
-rw-r--r--dev-cpp/libcutl/libcutl-1.10.0.ebuild43
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 00000000000..16152eb391e
--- /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
+}