diff options
author | Michał Górny <mgorny@gentoo.org> | 2018-10-19 11:51:38 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2018-10-19 11:51:38 +0200 |
commit | c913bb44bdb3e4463e1987c2bfe541364e987963 (patch) | |
tree | 0bd160000b5130daf69c1145b8391a8f1b360d31 /net-libs | |
parent | dev-python/miniupnpc: Drop old (diff) | |
download | gentoo-c913bb44bdb3e4463e1987c2bfe541364e987963.tar.gz gentoo-c913bb44bdb3e4463e1987c2bfe541364e987963.tar.bz2 gentoo-c913bb44bdb3e4463e1987c2bfe541364e987963.zip |
net-libs/miniupnpc: Drop 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.0.20180222.ebuild | 56 |
2 files changed, 0 insertions, 57 deletions
diff --git a/net-libs/miniupnpc/Manifest b/net-libs/miniupnpc/Manifest index ba0abf13e703..a677cb63c060 100644 --- a/net-libs/miniupnpc/Manifest +++ b/net-libs/miniupnpc/Manifest @@ -1,2 +1 @@ -DIST miniupnpc-2.0.20180222.tar.gz 87018 BLAKE2B 656ae02ac6e462084252d95e579972d2bbaec24cf44b5910d4fc1a956723a8ed8fecaa428aea361a7ec8a3ff60b82e0d9468ac21d251c16ac8c2b52eafec6ab3 SHA512 0cceeedff6c584d2d7037ff91fbba0fe580fabfda810b9a9ed7c8d8495445339e3ff115d63d4429bcd3eff2b13b123e1bd5855ff1bc9dcd986b968a82c368591 DIST miniupnpc-2.0.20180503.tar.gz 88207 BLAKE2B 1d6c6396e805eae3c53263a6856cc119033a645da29471b31705fdee8465808361057804496821f845112fb8490d351f67a5d5c9e1fef522fc6e6df8d4ac34c1 SHA512 68dcf76fe62223de80610afd392f14f46af2465796c3d4d46daa0c6f1f7e99034368b2484e260e718d42eef480644a684e83d4c0f32a6108fdd544cfc48443a3 diff --git a/net-libs/miniupnpc/miniupnpc-2.0.20180222.ebuild b/net-libs/miniupnpc/miniupnpc-2.0.20180222.ebuild deleted file mode 100644 index 3547f9b9507a..000000000000 --- a/net-libs/miniupnpc/miniupnpc-2.0.20180222.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -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/16" -KEYWORDS="amd64 arm ~arm64 hppa ~mips ppc ppc64 s390 sparc x86 ~x86-fbsd" -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 -} |