Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/libpdb/
Date: Fri, 14 Apr 2017 19:00:32
Message-Id: 1492196399.26eecfbe9f224fdae2d8ba396fd25dba9face9e2.jlec@gentoo
1 commit: 26eecfbe9f224fdae2d8ba396fd25dba9face9e2
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Fri Apr 14 18:57:41 2017 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Fri Apr 14 18:59:59 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26eecfbe
7
8 sci-libs/libpdb: Bump EAPI to 6
9
10 drop old
11
12 Package-Manager: Portage-2.3.5, Repoman-2.3.2
13 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
14
15 sci-libs/libpdb/libpdb-991112-r1.ebuild | 8 +++---
16 sci-libs/libpdb/libpdb-991112.ebuild | 45 ---------------------------------
17 2 files changed, 5 insertions(+), 48 deletions(-)
18
19 diff --git a/sci-libs/libpdb/libpdb-991112-r1.ebuild b/sci-libs/libpdb/libpdb-991112-r1.ebuild
20 index db986a054e7..d9f08556e58 100644
21 --- a/sci-libs/libpdb/libpdb-991112-r1.ebuild
22 +++ b/sci-libs/libpdb/libpdb-991112-r1.ebuild
23 @@ -1,7 +1,7 @@
24 -# Copyright 1999-2012 Gentoo Foundation
25 +# Copyright 1999-2017 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27
28 -EAPI=4
29 +EAPI=6
30
31 inherit eutils toolchain-funcs
32
33 @@ -20,12 +20,14 @@ DEPEND="${RDEPEND}
34
35 S="${WORKDIR}"
36
37 +PATCHES=( "${FILESDIR}"/${P}-dynlib+flags.patch )
38 +
39 src_unpack() {
40 "${EPREFIX}/usr/bin/unshar" "${DISTDIR}"/${A} || die
41 }
42
43 src_prepare() {
44 - epatch "${FILESDIR}"/${P}-dynlib+flags.patch
45 + default
46 tc-export CC RANLIB AR
47 }
48
49
50 diff --git a/sci-libs/libpdb/libpdb-991112.ebuild b/sci-libs/libpdb/libpdb-991112.ebuild
51 deleted file mode 100644
52 index 8af0f60670e..00000000000
53 --- a/sci-libs/libpdb/libpdb-991112.ebuild
54 +++ /dev/null
55 @@ -1,45 +0,0 @@
56 -# Copyright 1999-2012 Gentoo Foundation
57 -# Distributed under the terms of the GNU General Public License v2
58 -
59 -EAPI="3"
60 -
61 -inherit eutils multilib toolchain-funcs
62 -
63 -DESCRIPTION="PDB Record I/O Libraries -- c version"
64 -HOMEPAGE="http://www.cgl.ucsf.edu/Overview/software.html"
65 -SRC_URI="mirror://gentoo/${P}.shar"
66 -
67 -SLOT="0"
68 -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
69 -LICENSE="BSD"
70 -IUSE=""
71 -
72 -RDEPEND=""
73 -DEPEND="${RDEPEND}
74 - app-arch/sharutils"
75 -
76 -S="${WORKDIR}"/${PN}
77 -
78 -src_unpack() {
79 - "${EPREFIX}"/usr/bin/unshar "${DISTDIR}"/${A} || die
80 -}
81 -
82 -src_prepare() {
83 - epatch "${FILESDIR}"/${PV}-dynlib.patch
84 -}
85 -
86 -src_compile() {
87 - emake \
88 - CC="$(tc-getCC)" \
89 - CFLAGS="${CFLAGS} -fPIC" \
90 - ${PN}.a || die
91 -}
92 -
93 -src_install() {
94 - dolib.a ${PN}.a || die
95 - dolib.so ${PN}.so.0.1 || die
96 - dosym ${PN}.so.0.1 /usr/$(get_libdir)/${PN}.so.0
97 - dosym ${PN}.so.0.1 /usr/$(get_libdir)/${PN}.so
98 - insinto /usr/include/${PN}
99 - doins *.h || die
100 -}