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