diff options
author | Justin Lecher <jlec@gentoo.org> | 2017-04-14 19:57:41 +0100 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2017-04-14 19:59:59 +0100 |
commit | 26eecfbe9f224fdae2d8ba396fd25dba9face9e2 (patch) | |
tree | 7b42bdb2da23432dcf94b6b1662d61236b7f6bea /sci-libs | |
parent | sci-libs/libpdb++: Bump EAPI to 6 (diff) | |
download | gentoo-26eecfbe9f224fdae2d8ba396fd25dba9face9e2.tar.gz gentoo-26eecfbe9f224fdae2d8ba396fd25dba9face9e2.tar.bz2 gentoo-26eecfbe9f224fdae2d8ba396fd25dba9face9e2.zip |
sci-libs/libpdb: Bump EAPI to 6
drop old
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/libpdb/libpdb-991112-r1.ebuild | 8 | ||||
-rw-r--r-- | sci-libs/libpdb/libpdb-991112.ebuild | 45 |
2 files changed, 5 insertions, 48 deletions
diff --git a/sci-libs/libpdb/libpdb-991112-r1.ebuild b/sci-libs/libpdb/libpdb-991112-r1.ebuild index db986a054e7e..d9f08556e58e 100644 --- a/sci-libs/libpdb/libpdb-991112-r1.ebuild +++ b/sci-libs/libpdb/libpdb-991112-r1.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=4 +EAPI=6 inherit eutils toolchain-funcs @@ -20,12 +20,14 @@ DEPEND="${RDEPEND} S="${WORKDIR}" +PATCHES=( "${FILESDIR}"/${P}-dynlib+flags.patch ) + src_unpack() { "${EPREFIX}/usr/bin/unshar" "${DISTDIR}"/${A} || die } src_prepare() { - epatch "${FILESDIR}"/${P}-dynlib+flags.patch + default tc-export CC RANLIB AR } diff --git a/sci-libs/libpdb/libpdb-991112.ebuild b/sci-libs/libpdb/libpdb-991112.ebuild deleted file mode 100644 index 8af0f60670ee..000000000000 --- a/sci-libs/libpdb/libpdb-991112.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="3" - -inherit eutils multilib toolchain-funcs - -DESCRIPTION="PDB Record I/O Libraries -- c version" -HOMEPAGE="http://www.cgl.ucsf.edu/Overview/software.html" -SRC_URI="mirror://gentoo/${P}.shar" - -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -LICENSE="BSD" -IUSE="" - -RDEPEND="" -DEPEND="${RDEPEND} - app-arch/sharutils" - -S="${WORKDIR}"/${PN} - -src_unpack() { - "${EPREFIX}"/usr/bin/unshar "${DISTDIR}"/${A} || die -} - -src_prepare() { - epatch "${FILESDIR}"/${PV}-dynlib.patch -} - -src_compile() { - emake \ - CC="$(tc-getCC)" \ - CFLAGS="${CFLAGS} -fPIC" \ - ${PN}.a || die -} - -src_install() { - dolib.a ${PN}.a || die - dolib.so ${PN}.so.0.1 || die - dosym ${PN}.so.0.1 /usr/$(get_libdir)/${PN}.so.0 - dosym ${PN}.so.0.1 /usr/$(get_libdir)/${PN}.so - insinto /usr/include/${PN} - doins *.h || die -} |