1 |
commit: 69663e78203244605a7cc78435ca20c496e9a108 |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Mar 1 18:41:38 2017 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Mar 1 18:41:38 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69663e78 |
7 |
|
8 |
dev-cpp/libassa: Modernise to EAPI 6 |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
11 |
|
12 |
...libassa-3.5.1-r1.ebuild => libassa-3.5.1-r2.ebuild} | 18 ++++++++---------- |
13 |
1 file changed, 8 insertions(+), 10 deletions(-) |
14 |
|
15 |
diff --git a/dev-cpp/libassa/libassa-3.5.1-r1.ebuild b/dev-cpp/libassa/libassa-3.5.1-r2.ebuild |
16 |
similarity index 63% |
17 |
rename from dev-cpp/libassa/libassa-3.5.1-r1.ebuild |
18 |
rename to dev-cpp/libassa/libassa-3.5.1-r2.ebuild |
19 |
index 81f5fb6d146..8d46aa4035e 100644 |
20 |
--- a/dev-cpp/libassa/libassa-3.5.1-r1.ebuild |
21 |
+++ b/dev-cpp/libassa/libassa-3.5.1-r2.ebuild |
22 |
@@ -1,8 +1,7 @@ |
23 |
-# Copyright 1999-2012 Gentoo Foundation |
24 |
+# Copyright 1999-2017 Gentoo Foundation |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
|
27 |
-EAPI=4 |
28 |
-inherit eutils |
29 |
+EAPI=6 |
30 |
|
31 |
DESCRIPTION="A networking library based on Adaptive Communication Patterns" |
32 |
HOMEPAGE="http://libassa.sourceforge.net/" |
33 |
@@ -17,12 +16,10 @@ RDEPEND="net-libs/libtirpc" |
34 |
DEPEND="${RDEPEND} |
35 |
doc? ( app-doc/doxygen )" |
36 |
|
37 |
-DOCS=( AUTHORS ChangeLog NEWS README TODO ) |
38 |
- |
39 |
-src_prepare() { |
40 |
- epatch "${FILESDIR}"/${PN}-3.5.0-fix-tests.patch \ |
41 |
- "${FILESDIR}"/${P}-gcc47.patch |
42 |
-} |
43 |
+PATCHES=( |
44 |
+ "${FILESDIR}"/${PN}-3.5.0-fix-tests.patch |
45 |
+ "${FILESDIR}"/${PN}-3.5.1-gcc47.patch |
46 |
+) |
47 |
|
48 |
src_configure() { |
49 |
econf \ |
50 |
@@ -32,5 +29,6 @@ src_configure() { |
51 |
|
52 |
src_install() { |
53 |
default |
54 |
- find "${ED}" -name "*.la" -exec rm -rf {} + || die "failed to delete .la files" |
55 |
+ |
56 |
+ find "${D}" -name '*.la' -delete || die |
57 |
} |