Gentoo Archives: gentoo-commits

From: "Tim Harder (radhermit)" <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/cdk: ChangeLog cdk-5.0.20131107.ebuild
Date: Mon, 02 Dec 2013 10:10:52
Message-Id: 20131202101045.B5F272004B@flycatcher.gentoo.org
1 radhermit 13/12/02 10:10:45
2
3 Modified: ChangeLog
4 Added: cdk-5.0.20131107.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
9
10 Revision Changes Path
11 1.78 dev-libs/cdk/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/cdk/ChangeLog?rev=1.78&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/cdk/ChangeLog?rev=1.78&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/cdk/ChangeLog?r1=1.77&r2=1.78
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-libs/cdk/ChangeLog,v
20 retrieving revision 1.77
21 retrieving revision 1.78
22 diff -u -r1.77 -r1.78
23 --- ChangeLog 2 Sep 2013 03:49:30 -0000 1.77
24 +++ ChangeLog 2 Dec 2013 10:10:45 -0000 1.78
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-libs/cdk
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/cdk/ChangeLog,v 1.77 2013/09/02 03:49:30 radhermit Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/cdk/ChangeLog,v 1.78 2013/12/02 10:10:45 radhermit Exp $
30 +
31 +*cdk-5.0.20131107 (02 Dec 2013)
32 +
33 + 02 Dec 2013; Tim Harder <radhermit@g.o> +cdk-5.0.20131107.ebuild:
34 + Version bump.
35
36 *cdk-5.0.20130901 (02 Sep 2013)
37
38
39
40
41 1.1 dev-libs/cdk/cdk-5.0.20131107.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/cdk/cdk-5.0.20131107.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/cdk/cdk-5.0.20131107.ebuild?rev=1.1&content-type=text/plain
45
46 Index: cdk-5.0.20131107.ebuild
47 ===================================================================
48 # Copyright 1999-2013 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-libs/cdk/cdk-5.0.20131107.ebuild,v 1.1 2013/12/02 10:10:45 radhermit Exp $
51
52 EAPI=5
53
54 inherit eutils versionator
55
56 MY_P="${PN}-$(replace_version_separator 2 -)"
57 DESCRIPTION="A library of curses widgets"
58 HOMEPAGE="http://dickey.his.com/cdk/cdk.html"
59 SRC_URI="ftp://invisible-island.net/cdk/${MY_P}.tgz"
60
61 LICENSE="BSD"
62 SLOT="0/5" # subslot = soname version
63 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris"
64 IUSE="examples static-libs unicode"
65
66 DEPEND=">=sys-libs/ncurses-5.2[unicode?]"
67 RDEPEND="${DEPEND}"
68
69 S=${WORKDIR}/${MY_P}
70
71 src_prepare() {
72 epatch "${FILESDIR}"/${PN}-5.0.20120323-parallel-make.patch
73 }
74
75 src_configure() {
76 econf \
77 --with-libtool \
78 --with-shared \
79 --with-ncurses$(usex unicode "w" "")
80 }
81
82 src_install() {
83 # parallel make installs duplicate libs
84 emake -j1 \
85 DESTDIR="${ED}" \
86 DOCUMENT_DIR="${ED}/usr/share/doc/${PF}" install
87
88 if use examples ; then
89 for x in include c++ demos examples cli cli/utils cli/samples; do
90 docinto $x
91 find $x -maxdepth 1 -mindepth 1 -type f -print0 | xargs -0 dodoc
92 done
93 fi
94
95 use static-libs || find "${ED}" \( -name '*.a' -or -name '*.la' \) -delete
96 }