diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-03-21 17:27:30 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-03-21 17:32:14 +0100 |
commit | 753f60d2233e3fc14bba6fe1fa2aa5a26381f24e (patch) | |
tree | c84474f7ece2c3ec31637982a3c52715253d368a /net-libs | |
parent | dev-python/miniupnpc: Remove old (diff) | |
download | gentoo-753f60d2233e3fc14bba6fe1fa2aa5a26381f24e.tar.gz gentoo-753f60d2233e3fc14bba6fe1fa2aa5a26381f24e.tar.bz2 gentoo-753f60d2233e3fc14bba6fe1fa2aa5a26381f24e.zip |
net-libs/miniupnpc: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'net-libs')
-rw-r--r-- | net-libs/miniupnpc/Manifest | 1 | ||||
-rw-r--r-- | net-libs/miniupnpc/miniupnpc-2.1.20190824.ebuild | 56 |
2 files changed, 0 insertions, 57 deletions
diff --git a/net-libs/miniupnpc/Manifest b/net-libs/miniupnpc/Manifest index 266356ff4a60..955881a8af5a 100644 --- a/net-libs/miniupnpc/Manifest +++ b/net-libs/miniupnpc/Manifest @@ -1,2 +1 @@ -DIST miniupnpc-2.1.20190824.tar.gz 94564 BLAKE2B 1569e15bc9a886bdee5192526b83e0a628f0d6c9b4449c547c0c22c2ab1f912b1671d84ead6aa6961161bd99e5f62f8428f3867b8f9ca14e04d5f953e6553d4a SHA512 9ed5fc6fbe6f64fbfa23938043732db1999f3c8585422a660fde04fd9e203d7acf8a5c3f1f1433468ea179f090261702194cf5714601c5c0ed9094250352f175 DIST miniupnpc-2.1.20191224.tar.gz 94740 BLAKE2B 85c0b3eb678685bc7192dbee9440ec5f5be80cbac4d6a4e0a6473662c66f05ef512322cd535a142ffe16d3099a86f78ea70645a7eb2979c373e7a486aeab0cd5 SHA512 d362f914ce9177c1bc46f1f3ae59069c61c0c9c1b6ea7e78003d6b46445d3550835ffc541c2649b5fbc997d035357b461148edb3648135f33d0ce98b54961917 diff --git a/net-libs/miniupnpc/miniupnpc-2.1.20190824.ebuild b/net-libs/miniupnpc/miniupnpc-2.1.20190824.ebuild deleted file mode 100644 index 7c74096859fc..000000000000 --- a/net-libs/miniupnpc/miniupnpc-2.1.20190824.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit toolchain-funcs - -DESCRIPTION="UPnP client library and a simple UPnP client" -HOMEPAGE="http://miniupnp.free.fr/" -SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0/17" -KEYWORDS="amd64 arm arm64 hppa ~mips ppc ppc64 s390 sparc x86" -IUSE="ipv6 kernel_linux static-libs" - -RDEPEND="" -DEPEND="kernel_linux? ( sys-apps/lsb-release sys-apps/which )" - -src_prepare() { - eapply_user - - # These bins are not installed, upnpc-static requires building static lib - sed -i -e '/EXECUTABLES =/s/ upnpc-static listdevices//' Makefile || die - # Prevent gzipping manpage. - sed -i -e '/gzip/d' Makefile || die - - if ! use static-libs; then - sed -i \ - -e '/FILESTOINSTALL =/s/ $(LIBRARY)//' \ - -e '/$(INSTALL) -m 644 $(LIBRARY) $(DESTDIR)$(INSTALLDIRLIB)/d' \ - Makefile || die - fi -} - -# Upstream cmake causes more trouble than it fixes, -# so we'll just stay with the Makefile for now. - -src_compile() { - tc-export CC AR - emake upnpc-shared $(usex static-libs upnpc-static '') -} - -src_test() { - emake -j1 HAVE_IPV6=$(usex ipv6) check -} - -src_install() { - emake \ - DESTDIR="${D}" \ - PREFIX="${EPREFIX}/usr" \ - INSTALLDIRLIB="${EPREFIX}/usr/$(get_libdir)" \ - install - - dodoc README Changelog.txt -} |