1 |
commit: 77af0d66746e0f4a282ac25a6641511b082a6fc6 |
2 |
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Oct 1 06:47:24 2021 +0000 |
4 |
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Oct 1 07:24:25 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77af0d66 |
7 |
|
8 |
app-text/bibutils: Version bump to 7.1 |
9 |
|
10 |
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org> |
11 |
|
12 |
app-text/bibutils/Manifest | 1 + |
13 |
app-text/bibutils/bibutils-7.1.ebuild | 43 +++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 44 insertions(+) |
15 |
|
16 |
diff --git a/app-text/bibutils/Manifest b/app-text/bibutils/Manifest |
17 |
index c72c9c3707b..c4cb296642d 100644 |
18 |
--- a/app-text/bibutils/Manifest |
19 |
+++ b/app-text/bibutils/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST bibutils_6.10_src.tgz 590002 BLAKE2B 91ea6c961978d381a65c1d5071c541409609dd9fdeb664cd7e66eb4871c2ecd0dfd6b06857294ae6ec049751a5939be23518782a5e1f14fdf848918849269402 SHA512 43cf107ee6d1bf6bf27a6bf46e1f4cbd83a4b78ef355730a9f37282fac399ee21d78538248730be85c0a8f724344782dcc6ab68e50f857d8ac4ea24cc4102911 |
22 |
+DIST bibutils_7.1_src.tgz 620141 BLAKE2B f020ea7c8164a870ef4c72defae1adc11558661a7ae9f3b037115cfc4a9e71b4f37c64f3b74641182300c3e921b8a0c309257a468b6b32f4fc2915e4a36f04d1 SHA512 2a155ca60c97d37941c860635d8e6920bd78de84452e1fee93a2f7331392f6a43f2c10055e84349bcac89314025d1524fd5cc73c47ad1613baa7baf2667c3f33 |
23 |
|
24 |
diff --git a/app-text/bibutils/bibutils-7.1.ebuild b/app-text/bibutils/bibutils-7.1.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..a54bd087935 |
27 |
--- /dev/null |
28 |
+++ b/app-text/bibutils/bibutils-7.1.ebuild |
29 |
@@ -0,0 +1,43 @@ |
30 |
+# Copyright 1999-2021 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=7 |
34 |
+ |
35 |
+inherit toolchain-funcs |
36 |
+ |
37 |
+MY_P="${PN}_${PV}" |
38 |
+DESCRIPTION="Interconverts between various bibliography formats using common XML intermediate" |
39 |
+HOMEPAGE="https://sourceforge.net/p/bibutils/home/Bibutils/" |
40 |
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}_src.tgz" |
41 |
+S="${WORKDIR}/${MY_P}" |
42 |
+ |
43 |
+LICENSE="GPL-2" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64 ~ppc ~x86" |
46 |
+ |
47 |
+src_prepare() { |
48 |
+ default |
49 |
+ sed -ie 's/REPLACE_INSTALLDIR/${DESTDIR}&/' Makefile_start || die |
50 |
+ sed -ie 's/REPLACE_LIBINSTALLDIR/${DESTDIR}&/' Makefile_start || die |
51 |
+} |
52 |
+ |
53 |
+src_configure() { |
54 |
+ ./configure \ |
55 |
+ --install-dir /usr/bin \ |
56 |
+ --install-lib /usr/$(get_libdir) \ |
57 |
+ --dynamic || die |
58 |
+} |
59 |
+ |
60 |
+src_compile() { |
61 |
+ emake \ |
62 |
+ CC="$(tc-getCC)" \ |
63 |
+ DISTRO_CFLAGS="${CFLAGS}" \ |
64 |
+ LDFLAGSIN="${LDFLAGS}" |
65 |
+} |
66 |
+ |
67 |
+src_test() { |
68 |
+ emake \ |
69 |
+ CC="$(tc-getCC)" \ |
70 |
+ DISTRO_CFLAGS="${CFLAGS}" \ |
71 |
+ LDFLAGSIN="${LDFLAGS}" test |
72 |
+} |