summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2016-08-20 19:23:23 -0400
committerTim Harder <radhermit@gentoo.org>2016-08-20 19:23:23 -0400
commit7d961569476739935e3ca6453dca0d72f3d5c9a0 (patch)
tree0fa70d41cd769c387c33d8286ddd5923ac85041b /dev-libs
parentmedia-sound/lilypond: sync keywords to live ebuild (diff)
downloadgentoo-7d961569476739935e3ca6453dca0d72f3d5c9a0.tar.gz
gentoo-7d961569476739935e3ca6453dca0d72f3d5c9a0.tar.bz2
gentoo-7d961569476739935e3ca6453dca0d72f3d5c9a0.zip
dev-libs/cdk: version bump to 5.0.20160131
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/cdk/Manifest1
-rw-r--r--dev-libs/cdk/cdk-5.0.20160131.ebuild47
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-libs/cdk/Manifest b/dev-libs/cdk/Manifest
index 59fb8e04c2f9..5106bbba0631 100644
--- a/dev-libs/cdk/Manifest
+++ b/dev-libs/cdk/Manifest
@@ -1,3 +1,4 @@
DIST cdk-5.0-20131107.tgz 495455 SHA256 2b3670b95d330cce34ddd929f985c423cf86b05ba8a33bf5f217c4702131f565 SHA512 93e0c78bfd12fb9c554b9b6996b9c93542201afb67ddd63ecea7330171ca079da73d81b3f3b2f27a28ecd3527ed6c7333203a9438ecd196a66d3bad78233f439 WHIRLPOOL bedf5a441175436fb0eb54b216a61acd296d97dbbb2be1eb817b024778f58383f0ea00f6159c67c05f116f21ad6e0030a2d979aa8db2798a4f103f36f3e3198b
DIST cdk-5.0-20141106.tgz 509310 SHA256 d7ce8d9698b4998fa49a63b6e19309d3eb61cc3a019bfc95101d845ef03c4803 SHA512 8a92363c8036acb61fe8dcfcf3690653f2573407123b8c684c0bf165d5b99b6a4c7e8bcded8773304ebc13108e90ae3488f0e74ed026f3bc69f6a5b007e651e4 WHIRLPOOL d497624acb49bec7a1f18afe13c1279f5e8c06b71d4f904b88b9f639e01fae0b4d959ae90df169c477292e0f56f787944e5cffddb4416d30d85784155bde2dee
DIST cdk-5.0-20150928.tgz 515214 SHA256 028da75d5f777a1c4184f88e34918bd273bd83bbe3c959bc11710c4f0ea2e448 SHA512 5774e28d91edd477854e30eb456b7725987e82ec27f5cf055c1d1e46581e11d2958bafbac408124f274bf7454be68476d18643a265df7c74b8f43eb1895bf19d WHIRLPOOL 637cf7405139dedb82a21b3481f8673fd3c27289813e74da44afe739c258d6674fd4288f202166b9a624357ea686971010c06250f7770c2c37d538f0e7fbb12b
+DIST cdk-5.0-20160131.tgz 516298 SHA256 c32d075806c231b96ca3778bd24132c7aa0ba9a126f3cebb8a16c59a8b132c22 SHA512 f8f7fc5fec3c040cdbfc2a0d886e9d9d9d231e56ed69adae0b91e03243b5edd550c5435f973a93d4cf7ab723bd27b55712af75162c4bfd3ae28b3c16cd68f755 WHIRLPOOL f9d7440394dc10ea04f4a8bb67abc3f63ab5349544601d401ceb2acd093e1d6b524e556f8e7eb3e53a49afddb7d3eabb727b30a64d283c10644f61f6fed37626
diff --git a/dev-libs/cdk/cdk-5.0.20160131.ebuild b/dev-libs/cdk/cdk-5.0.20160131.ebuild
new file mode 100644
index 000000000000..e5e68025f66a
--- /dev/null
+++ b/dev-libs/cdk/cdk-5.0.20160131.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit versionator
+
+MY_P="${PN}-$(replace_version_separator 2 -)"
+DESCRIPTION="A library of curses widgets"
+HOMEPAGE="http://dickey.his.com/cdk/cdk.html"
+SRC_URI="ftp://invisible-island.net/cdk/${MY_P}.tgz"
+
+LICENSE="BSD"
+SLOT="0/6" # subslot = soname version
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris"
+IUSE="examples static-libs unicode"
+
+DEPEND=">=sys-libs/ncurses-5.2:0=[unicode?]"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+PATCHES=( "${FILESDIR}"/${PN}-5.0.20120323-parallel-make.patch )
+
+src_configure() {
+ econf \
+ --with-libtool \
+ --with-shared \
+ --with-ncurses$(usex unicode "w" "")
+}
+
+src_install() {
+ # parallel make installs duplicate libs
+ emake -j1 \
+ DESTDIR="${ED}" \
+ DOCUMENT_DIR="${ED}/usr/share/doc/${PF}" install
+
+ if use examples ; then
+ for x in include c++ demos examples cli cli/utils cli/samples; do
+ docinto $x
+ find $x -maxdepth 1 -mindepth 1 -type f -print0 | xargs -0 dodoc
+ done
+ fi
+
+ use static-libs || find "${ED}" \( -name '*.a' -or -name '*.la' \) -delete
+}