1 |
commit: 5103884b8f4d11dfe9aa4b1989065745396f932b |
2 |
Author: Craig Andrews <candrews <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu May 28 14:00:57 2020 +0000 |
4 |
Commit: Craig Andrews <candrews <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu May 28 14:01:32 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5103884b |
7 |
|
8 |
dev-libs/libfstrcmp: Delete libtool archives and static libraries |
9 |
|
10 |
Closes: https://bugs.gentoo.org/725876 |
11 |
Package-Manager: Portage-2.3.100, Repoman-2.3.22 |
12 |
Signed-off-by: Craig Andrews <candrews <AT> gentoo.org> |
13 |
|
14 |
dev-libs/libfstrcmp/libfstrcmp-0.7-r1.ebuild | 44 ++++++++++++++++++++++++++++ |
15 |
1 file changed, 44 insertions(+) |
16 |
|
17 |
diff --git a/dev-libs/libfstrcmp/libfstrcmp-0.7-r1.ebuild b/dev-libs/libfstrcmp/libfstrcmp-0.7-r1.ebuild |
18 |
new file mode 100644 |
19 |
index 00000000000..d56c71db588 |
20 |
--- /dev/null |
21 |
+++ b/dev-libs/libfstrcmp/libfstrcmp-0.7-r1.ebuild |
22 |
@@ -0,0 +1,44 @@ |
23 |
+# Copyright 1999-2020 Gentoo Authors |
24 |
+# Distributed under the terms of the GNU General Public License v2 |
25 |
+ |
26 |
+EAPI=7 |
27 |
+ |
28 |
+inherit autotools |
29 |
+ |
30 |
+DESCRIPTION="Make fuzzy comparisons of strings and byte arrays" |
31 |
+HOMEPAGE="http://fstrcmp.sourceforge.net/" |
32 |
+ |
33 |
+LICENSE="GPL-3+" |
34 |
+IUSE="doc static-libs test" |
35 |
+SLOT="0" |
36 |
+ |
37 |
+SRC_URI="http://fstrcmp.sourceforge.net/fstrcmp-0.7.D001.tar.gz -> ${P}.tar.gz" |
38 |
+S="${WORKDIR}/fstrcmp-0.7.D001" |
39 |
+KEYWORDS="~amd64 ~x86" |
40 |
+ |
41 |
+DEPEND=" |
42 |
+ sys-apps/groff |
43 |
+ doc? ( app-text/ghostscript-gpl ) |
44 |
+ test? ( app-text/ghostscript-gpl ) |
45 |
+" |
46 |
+RESTRICT="!test? ( test )" |
47 |
+ |
48 |
+src_prepare() { |
49 |
+ default |
50 |
+ eautoreconf |
51 |
+} |
52 |
+ |
53 |
+src_compile() { |
54 |
+ emake all-bin |
55 |
+ use doc && emake all-doc |
56 |
+} |
57 |
+ |
58 |
+src_install() { |
59 |
+ emake DESTDIR="${D}" install-bin install-include install-libdir install-man |
60 |
+ find "${D}" -name '*.la' -delete || die |
61 |
+ if ! use static-libs ; then |
62 |
+ find "${D}" -name '*.a' -delete || die |
63 |
+ fi |
64 |
+ use doc && emake DESTDIR="${D}" install-doc |
65 |
+ einstalldocs |
66 |
+} |