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: Wed, 10 Apr 2019 15:07:41
Message-Id: 1554908843.62a04d6002f3f7dcf345886ffa57443ef725df28.mgorny@gentoo
1 commit: 62a04d6002f3f7dcf345886ffa57443ef725df28
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Apr 10 14:33:17 2019 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Apr 10 15:07:23 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62a04d60
7
8 net-libs/miniupnpc: Drop old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 net-libs/miniupnpc/Manifest | 2 -
13 net-libs/miniupnpc/miniupnpc-2.0.20180503.ebuild | 56 ------------------------
14 net-libs/miniupnpc/miniupnpc-2.1.20190403.ebuild | 56 ------------------------
15 3 files changed, 114 deletions(-)
16
17 diff --git a/net-libs/miniupnpc/Manifest b/net-libs/miniupnpc/Manifest
18 index e82318470bb..b427d72ddd3 100644
19 --- a/net-libs/miniupnpc/Manifest
20 +++ b/net-libs/miniupnpc/Manifest
21 @@ -1,4 +1,2 @@
22 -DIST miniupnpc-2.0.20180503.tar.gz 88207 BLAKE2B 1d6c6396e805eae3c53263a6856cc119033a645da29471b31705fdee8465808361057804496821f845112fb8490d351f67a5d5c9e1fef522fc6e6df8d4ac34c1 SHA512 68dcf76fe62223de80610afd392f14f46af2465796c3d4d46daa0c6f1f7e99034368b2484e260e718d42eef480644a684e83d4c0f32a6108fdd544cfc48443a3
23 DIST miniupnpc-2.1.20190210.tar.gz 94125 BLAKE2B 1cb8e4cd4d015d82eb15eec20e93b14a9f280aeabfc54e96ff9511db7fddf9713b9bffd0893c17f29beede29c6bfe73e6a459f7b20c9e4b33c88753b39cb7a0e SHA512 51f662c2a7a78cd99a793ff8b89097d895c80aaca696109c06106f8bb2601465207e068a410134cc66a61b4c0e11d4635bac6e9efdfe3fe8c4f813ac9e7a2fc2
24 -DIST miniupnpc-2.1.20190403.tar.gz 94204 BLAKE2B 6dd23a2b0b497a95bf8a92d63b95b8d3c85074845d1f2d9380701107e12262cacc2e80d4c324b95aeca76412ec85d5e6118eecc2131f352c8f2a5d489f833d40 SHA512 810ece8f3679c8caab447a621a7bc128a2f1780b455574d3514933c0601223cb14033e97f8e667c596632a75f651dbbb0294523d873e8212fdb5fd3cef61e65f
25 DIST miniupnpc-2.1.20190408.tar.gz 94216 BLAKE2B 19b0bee46d2f738939fda31c465779a6e6c7c04b2e975aed77c3a642bbfd1c61813367da5f2aa3f351fe1e5a71a842bfcd7b54c4faf589e345ddb1551bc322c6 SHA512 faa0f1363ebb59ca636b6c974188c52903ad07652f8268563c9c1a5826fafc2458d9f521efd3546fbbd4b71b3b14a50ba89dda52757adad1db81c31d9ba0987a
26
27 diff --git a/net-libs/miniupnpc/miniupnpc-2.0.20180503.ebuild b/net-libs/miniupnpc/miniupnpc-2.0.20180503.ebuild
28 deleted file mode 100644
29 index bfae17481af..00000000000
30 --- a/net-libs/miniupnpc/miniupnpc-2.0.20180503.ebuild
31 +++ /dev/null
32 @@ -1,56 +0,0 @@
33 -# Copyright 1999-2019 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=6
37 -
38 -inherit toolchain-funcs
39 -
40 -DESCRIPTION="UPnP client library and a simple UPnP client"
41 -HOMEPAGE="http://miniupnp.free.fr/"
42 -SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz"
43 -
44 -LICENSE="BSD"
45 -SLOT="0/17"
46 -KEYWORDS="amd64 arm ~arm64 hppa ~mips ppc ppc64 s390 sparc x86 ~x86-fbsd"
47 -IUSE="ipv6 kernel_linux static-libs"
48 -
49 -RDEPEND=""
50 -DEPEND="kernel_linux? ( sys-apps/lsb-release sys-apps/which )"
51 -
52 -src_prepare() {
53 - eapply_user
54 -
55 - # These bins are not installed, upnpc-static requires building static lib
56 - sed -i -e '/EXECUTABLES =/s/ upnpc-static listdevices//' Makefile || die
57 - # Prevent gzipping manpage.
58 - sed -i -e '/gzip/d' Makefile || die
59 -
60 - if ! use static-libs; then
61 - sed -i \
62 - -e '/FILESTOINSTALL =/s/ $(LIBRARY)//' \
63 - -e '/$(INSTALL) -m 644 $(LIBRARY) $(DESTDIR)$(INSTALLDIRLIB)/d' \
64 - Makefile || die
65 - fi
66 -}
67 -
68 -# Upstream cmake causes more trouble than it fixes,
69 -# so we'll just stay with the Makefile for now.
70 -
71 -src_compile() {
72 - tc-export CC AR
73 - emake upnpc-shared $(usex static-libs upnpc-static '')
74 -}
75 -
76 -src_test() {
77 - emake -j1 HAVE_IPV6=$(usex ipv6) check
78 -}
79 -
80 -src_install() {
81 - emake \
82 - DESTDIR="${D}" \
83 - PREFIX="${EPREFIX}/usr" \
84 - INSTALLDIRLIB="${EPREFIX}/usr/$(get_libdir)" \
85 - install
86 -
87 - dodoc README Changelog.txt
88 -}
89
90 diff --git a/net-libs/miniupnpc/miniupnpc-2.1.20190403.ebuild b/net-libs/miniupnpc/miniupnpc-2.1.20190403.ebuild
91 deleted file mode 100644
92 index b170db612f2..00000000000
93 --- a/net-libs/miniupnpc/miniupnpc-2.1.20190403.ebuild
94 +++ /dev/null
95 @@ -1,56 +0,0 @@
96 -# Copyright 1999-2019 Gentoo Authors
97 -# Distributed under the terms of the GNU General Public License v2
98 -
99 -EAPI=6
100 -
101 -inherit toolchain-funcs
102 -
103 -DESCRIPTION="UPnP client library and a simple UPnP client"
104 -HOMEPAGE="http://miniupnp.free.fr/"
105 -SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz"
106 -
107 -LICENSE="BSD"
108 -SLOT="0/17"
109 -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x86-fbsd"
110 -IUSE="ipv6 kernel_linux static-libs"
111 -
112 -RDEPEND=""
113 -DEPEND="kernel_linux? ( sys-apps/lsb-release sys-apps/which )"
114 -
115 -src_prepare() {
116 - eapply_user
117 -
118 - # These bins are not installed, upnpc-static requires building static lib
119 - sed -i -e '/EXECUTABLES =/s/ upnpc-static listdevices//' Makefile || die
120 - # Prevent gzipping manpage.
121 - sed -i -e '/gzip/d' Makefile || die
122 -
123 - if ! use static-libs; then
124 - sed -i \
125 - -e '/FILESTOINSTALL =/s/ $(LIBRARY)//' \
126 - -e '/$(INSTALL) -m 644 $(LIBRARY) $(DESTDIR)$(INSTALLDIRLIB)/d' \
127 - Makefile || die
128 - fi
129 -}
130 -
131 -# Upstream cmake causes more trouble than it fixes,
132 -# so we'll just stay with the Makefile for now.
133 -
134 -src_compile() {
135 - tc-export CC AR
136 - emake upnpc-shared $(usex static-libs upnpc-static '')
137 -}
138 -
139 -src_test() {
140 - emake -j1 HAVE_IPV6=$(usex ipv6) check
141 -}
142 -
143 -src_install() {
144 - emake \
145 - DESTDIR="${D}" \
146 - PREFIX="${EPREFIX}/usr" \
147 - INSTALLDIRLIB="${EPREFIX}/usr/$(get_libdir)" \
148 - install
149 -
150 - dodoc README Changelog.txt
151 -}