1 |
commit: d9c3adb551b63268fd4011bb1eb14a1018b49ea0 |
2 |
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jan 11 21:23:11 2019 +0000 |
4 |
Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jan 11 21:23:38 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9c3adb5 |
7 |
|
8 |
app-text/bibutils: Version bump |
9 |
|
10 |
Closes: https://bugs.gentoo.org/613346 |
11 |
Closes: https://bugs.gentoo.org/613352 |
12 |
Bug: https://bugs.gentoo.org/662884 |
13 |
Package-Manager: Portage-2.3.54, Repoman-2.3.12 |
14 |
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org> |
15 |
|
16 |
app-text/bibutils/Manifest | 1 + |
17 |
app-text/bibutils/bibutils-6.7.ebuild | 47 +++++++++++++++++++++++++++++++++++ |
18 |
2 files changed, 48 insertions(+) |
19 |
|
20 |
diff --git a/app-text/bibutils/Manifest b/app-text/bibutils/Manifest |
21 |
index d1c186c8d51..4d522560a79 100644 |
22 |
--- a/app-text/bibutils/Manifest |
23 |
+++ b/app-text/bibutils/Manifest |
24 |
@@ -1 +1,2 @@ |
25 |
DIST bibutils_4.12_src.tgz 447566 BLAKE2B 64d185963028f29f4efb64c63ee6ddb59961744d525d4dbaf28bdd1edb28ac8ea86529082995d11245c258895f27457c9d01594564a44caa837b0ba76052b969 SHA512 04329ecb685bf4d5314c6d3a2d5bb21e67112d73bcb49f5a7808a4082f32a9aecb40add4ec4b5320be35f49cd8e101dc1e35409e7c6cad8c39238d2122f91dd0 |
26 |
+DIST bibutils_6.7_src.tgz 580792 BLAKE2B 29c5863bc414ef7b2f362d95352c0e042c1bcc3275017df82b0206d96520b3f5c3fe1e12563577b84a8bd94b0677bf1ad04ecbd80dcbcc194a71037bbd6facba SHA512 08db07408eee26bce42dbd00b7e821ef41dc12c7ce847425e81145927bcfc6ea7180ff719056e089917811aa9675a09dd52e1e02b8187b8618f67647efcb1236 |
27 |
|
28 |
diff --git a/app-text/bibutils/bibutils-6.7.ebuild b/app-text/bibutils/bibutils-6.7.ebuild |
29 |
new file mode 100644 |
30 |
index 00000000000..0b626bb59e5 |
31 |
--- /dev/null |
32 |
+++ b/app-text/bibutils/bibutils-6.7.ebuild |
33 |
@@ -0,0 +1,47 @@ |
34 |
+# Copyright 1999-2019 Gentoo Authors |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+EAPI=7 |
38 |
+inherit toolchain-funcs |
39 |
+ |
40 |
+MY_P="${PN}_${PV}" |
41 |
+DESCRIPTION="Interconverts between various bibliography formats using common XML intermediate" |
42 |
+HOMEPAGE="https://sourceforge.net/p/bibutils/home/Bibutils/" |
43 |
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}_src.tgz" |
44 |
+ |
45 |
+LICENSE="GPL-2" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64 ~ppc ~x86" |
48 |
+IUSE="" |
49 |
+ |
50 |
+S=${WORKDIR}/${MY_P} |
51 |
+ |
52 |
+src_configure() { |
53 |
+ # The custom configure script still sucks several releases later, so we'll |
54 |
+ # just do its job ourselves |
55 |
+ rm -f Makefile configure || die "Failed to purge old Makefile" |
56 |
+ sed \ |
57 |
+ -e "s:REPLACE_CC:$(tc-getCC):g" \ |
58 |
+ -e "s:REPLACE_EXEEXT::g" \ |
59 |
+ -e "s:REPLACE_LIBTARGET:libbibutils.so:g" \ |
60 |
+ -e "s:REPLACE_LIBEXT:.so:g" \ |
61 |
+ -e "s:REPLACE_CFLAGS:${CFLAGS}:g" \ |
62 |
+ -e "s:REPLACE_CLIBFLAGS:${CFLAGS} -fPIC:g" \ |
63 |
+ -e "s:REPLACE_RANLIB:$(tc-getRANLIB):g" \ |
64 |
+ -e 's:REPLACE_POSTFIX::g' \ |
65 |
+ -e "s:REPLACE_INSTALLDIR:\"${D}/usr/bin\":g" \ |
66 |
+ -e "s:REPLACE_LIBINSTALLDIR:\"${D}/usr/$(get_libdir)\":g" \ |
67 |
+ -e 's:make:$(MAKE):g' \ |
68 |
+ Makefile_start > Makefile \ |
69 |
+ || die "Failed to set up Makefile" |
70 |
+ |
71 |
+ cp lib/Makefile.dynamic lib/Makefile || die |
72 |
+ cp bin/Makefile.dynamic bin/Makefile || die |
73 |
+ cp test/Makefile.dynamic test/Makefile || die |
74 |
+} |
75 |
+ |
76 |
+src_install() { |
77 |
+ dodir /usr/bin |
78 |
+ emake install |
79 |
+ dodoc ChangeLog |
80 |
+} |