Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/miniupnpc/
Date: Tue, 02 Jan 2018 06:19:12
Message-Id: 1514873926.42ee1e5276875455ea2a61eb82e0df8dec3a2847.mgorny@gentoo
1 commit: 42ee1e5276875455ea2a61eb82e0df8dec3a2847
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jan 1 22:04:15 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Jan 2 06:18:46 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42ee1e52
7
8 net-libs/miniupnpc: Clean old up
9
10 net-libs/miniupnpc/Manifest | 1 -
11 net-libs/miniupnpc/miniupnpc-2.0.20171102.ebuild | 54 ------------------------
12 2 files changed, 55 deletions(-)
13
14 diff --git a/net-libs/miniupnpc/Manifest b/net-libs/miniupnpc/Manifest
15 index 73dfab0496a..b271b2ddd98 100644
16 --- a/net-libs/miniupnpc/Manifest
17 +++ b/net-libs/miniupnpc/Manifest
18 @@ -1,3 +1,2 @@
19 DIST miniupnpc-2.0.20170509.tar.gz 86055 BLAKE2B 7da640c4baac58aa26965a670877953b4c2d27aff08b604366bad6913b30c152d52120099f37c6250eeed97396ff412a4dd6000179070a82eebd3c052596b0d0 SHA512 71ec052ef6c8ad0d529e467ddae6eae19a93b9816174eeac753aa90e036cc2f00cf7e8d1cdb188ef8280849a988fe2995e37b63f8e2a361e021c1d1b306bff6f
20 -DIST miniupnpc-2.0.20171102.tar.gz 86363 BLAKE2B 755cc85bbac7f7c9b480612c12c46c09eaa7089dc9f458027805ffb4836631efafbead4bbb5e5313d1267e3110bc4b24c726c34250da3afd1ab0f1f96d53a654 SHA512 5af68a58bef587ea5cc405155b1aca4438de3b56d5fb7e11945edd79e5cbdbf44c708b7f1ad3c3fde6bf4710de69782acf30cfcce327c5a906f4eb8f76a6ba37
21 DIST miniupnpc-2.0.20171212.tar.gz 86607 BLAKE2B fce582c4125192f74f6ffb174295020af1c9b574b2094f5565a5e49641820a2d9cef719de59cb94bfd207182505237c22cf58425e1a7b47f5dfe2eb84c07d3c5 SHA512 d25708f4e2ef7311878ba6d17cb506f4bfe5c9cc6b7a79e4168f143ca9da8b96beb018c42dd735f0b23806668eba2308b7de26d1b506d91c23f79c7ed77399a0
22
23 diff --git a/net-libs/miniupnpc/miniupnpc-2.0.20171102.ebuild b/net-libs/miniupnpc/miniupnpc-2.0.20171102.ebuild
24 deleted file mode 100644
25 index 918bc210cea..00000000000
26 --- a/net-libs/miniupnpc/miniupnpc-2.0.20171102.ebuild
27 +++ /dev/null
28 @@ -1,54 +0,0 @@
29 -# Copyright 1999-2017 Gentoo Foundation
30 -# Distributed under the terms of the GNU General Public License v2
31 -
32 -EAPI=6
33 -
34 -inherit toolchain-funcs
35 -
36 -DESCRIPTION="UPnP client library and a simple UPnP client"
37 -HOMEPAGE="http://miniupnp.free.fr/"
38 -SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz"
39 -
40 -LICENSE="BSD"
41 -SLOT="0/16"
42 -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
43 -IUSE="ipv6 kernel_linux static-libs"
44 -
45 -RDEPEND=""
46 -DEPEND="kernel_linux? ( sys-apps/lsb-release sys-apps/which )"
47 -
48 -src_prepare() {
49 - eapply_user
50 -
51 - # These bins are not installed, upnpc-static requires building static lib
52 - sed -i -e '/EXECUTABLES =/s/ upnpc-static listdevices//' Makefile || die
53 -
54 - if ! use static-libs; then
55 - sed -i \
56 - -e '/FILESTOINSTALL =/s/ $(LIBRARY)//' \
57 - -e '/$(INSTALL) -m 644 $(LIBRARY) $(DESTDIR)$(INSTALLDIRLIB)/d' \
58 - Makefile || die
59 - fi
60 -}
61 -
62 -# Upstream cmake causes more trouble than it fixes,
63 -# so we'll just stay with the Makefile for now.
64 -
65 -src_compile() {
66 - tc-export CC AR
67 - emake upnpc-shared $(usex static-libs upnpc-static '')
68 -}
69 -
70 -src_test() {
71 - emake -j1 HAVE_IPV6=$(usex ipv6) check
72 -}
73 -
74 -src_install() {
75 - emake \
76 - DESTDIR="${D}" \
77 - PREFIX="${EPREFIX}/usr" \
78 - INSTALLDIRLIB="${EPREFIX}/usr/$(get_libdir)" \
79 - install
80 -
81 - dodoc README Changelog.txt
82 -}