1 |
commit: fcc87f31bd72582f535a513692416c82c1b2546d |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jan 5 15:26:23 2020 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jan 5 15:28:53 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fcc87f31 |
7 |
|
8 |
dev-libs/libdnsres: EAPI=7 |
9 |
|
10 |
Package-Manager: Portage-2.3.84, Repoman-2.3.20 |
11 |
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org> |
12 |
|
13 |
dev-libs/libdnsres/libdnsres-0.1a-r3.ebuild | 37 +++++++++++++++++++++++++++++ |
14 |
1 file changed, 37 insertions(+) |
15 |
|
16 |
diff --git a/dev-libs/libdnsres/libdnsres-0.1a-r3.ebuild b/dev-libs/libdnsres/libdnsres-0.1a-r3.ebuild |
17 |
new file mode 100644 |
18 |
index 00000000000..99fa3450280 |
19 |
--- /dev/null |
20 |
+++ b/dev-libs/libdnsres/libdnsres-0.1a-r3.ebuild |
21 |
@@ -0,0 +1,37 @@ |
22 |
+# Copyright 1999-2020 Gentoo Authors |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+ |
25 |
+EAPI=7 |
26 |
+inherit autotools |
27 |
+ |
28 |
+DESCRIPTION="A non-blocking DNS resolver library" |
29 |
+HOMEPAGE="https://www.monkey.org/~provos/libdnsres/" |
30 |
+SRC_URI="https://www.monkey.org/~provos/${P}.tar.gz" |
31 |
+ |
32 |
+LICENSE="BSD-4" |
33 |
+SLOT="0" |
34 |
+KEYWORDS="~amd64 ~ppc ~sparc ~x86" |
35 |
+IUSE="static-libs" |
36 |
+ |
37 |
+DEPEND="dev-libs/libevent" |
38 |
+RDEPEND="${DEPEND}" |
39 |
+ |
40 |
+DOCS=( README ) |
41 |
+PATCHES=( |
42 |
+ "${FILESDIR}"/${P}-autotools.patch |
43 |
+) |
44 |
+ |
45 |
+src_prepare() { |
46 |
+ default |
47 |
+ sed -i configure.in -e 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|g' || die |
48 |
+ eautoreconf |
49 |
+} |
50 |
+ |
51 |
+src_configure() { |
52 |
+ econf $(use_enable static-libs static) |
53 |
+} |
54 |
+ |
55 |
+src_install() { |
56 |
+ default |
57 |
+ find "${ED}" -name '*.la' -delete || die |
58 |
+} |