diff options
Diffstat (limited to 'net-libs/libnatpmp')
-rw-r--r-- | net-libs/libnatpmp/Manifest | 2 | ||||
-rw-r--r-- | net-libs/libnatpmp/libnatpmp-20150609.ebuild | 23 |
2 files changed, 14 insertions, 11 deletions
diff --git a/net-libs/libnatpmp/Manifest b/net-libs/libnatpmp/Manifest index f5ade29a5e4e..70c014fd0061 100644 --- a/net-libs/libnatpmp/Manifest +++ b/net-libs/libnatpmp/Manifest @@ -12,5 +12,5 @@ DIST libnatpmp-20150609.tar.gz 24392 BLAKE2B 0a8df6badf222328a24ae94a97386593c42 EBUILD libnatpmp-20110808-r1.ebuild 722 BLAKE2B bdace565e17460df38361f3b7e7bbe6c83be72d0a7b863b0f989108aa02196c175b2fcc7a454b08d21992924de6a458bd8ed750e407d8bfdb91c357e2e04a9e4 SHA512 00fc715e7b04c7ca32ec24bb6fdfb72592745edd2a4ad77c27248d908b567da26b91c108d655b996e24c10f3ed9d383cf72735ec245921683e3625aea3f9840c EBUILD libnatpmp-20130911.ebuild 776 BLAKE2B a82ac0c79c2825717d3e4003bcbe256dd177d05b6810606371745972a3c0ba1c75b9b7211f465df52ce1beb4d330beeaafb00dc52a330f75bfa1d8044f2181f1 SHA512 1e6d69662525d6336aecfc136a1b8a6960b15b656a8bb37fbbdf75d4a2f9ff482ec2ca09d1755902450f99cb01c4886d57306e3291f591b978fac2264d924a8c EBUILD libnatpmp-20140401-r1.ebuild 872 BLAKE2B 5819e67094a71aa5a6d83460a747e75d740e97bfd5a89e07c8cbb5c8ae19cd4ca8c50f01e9beb5dd49ead5aa6c8df31a7fd8134c3f820c05c9bd952dd74950b1 SHA512 3542090fefcb135a0aebfa289205cc6593a758bf34eeac8a4377dce424a5b5fd329ccc63d3699f11a7ba4608758d2371f0f33241d3f08ea85c615b00b1b810b2 -EBUILD libnatpmp-20150609.ebuild 885 BLAKE2B e247aa193608e3745ee8b24fbd8dfa493bb6d6e116a9288188dba45f791d63e8d6af5efacba6abcee60960ed4f9429cf03bd0082947b8233f68bca4cfb2c3657 SHA512 86ef08525d292d25a553e966f405247700a915ff1a454d7e2c75fd3d8bcb82a00af7958847370eff3dcda1a13f6131e3d263b831e95e22d76e8aec22ee416916 +EBUILD libnatpmp-20150609.ebuild 821 BLAKE2B 7ad1cd8505ff19aac6a04b534ef21bbc9360301b877186facb28dc8206a6dca818e4158b4faeb0e9aa76faa652ee31e7af1efeeccb57acdc38691f1d0091de0f SHA512 94f34a2b69d5964b047ad7262c9fa3daf05aed0444d703e66108a65838d54af7fb12fa6c06291f13ab62a9cfc73a9444f190328ab8ea92f88fbb14b414299a49 MISC metadata.xml 252 BLAKE2B f6282e2a99df668246ea8570c72345463f06d282b6adc6d9de2a08ef0827cf4572332c580caa594aad5ba8e200870d8d25494549ee4413798025f0d885b61a68 SHA512 cbda7bf9832872764ae776ce16b2966c37a2ba3a1982d9817006fd6b82d7b17146434cde428bf114062a483e9053d2acdcdd004695e6ebf428d19cdc09937c65 diff --git a/net-libs/libnatpmp/libnatpmp-20150609.ebuild b/net-libs/libnatpmp/libnatpmp-20150609.ebuild index 95c1b853efb5..dacd2137cb04 100644 --- a/net-libs/libnatpmp/libnatpmp-20150609.ebuild +++ b/net-libs/libnatpmp/libnatpmp-20150609.ebuild @@ -1,8 +1,9 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="5" -inherit eutils toolchain-funcs multilib +EAPI=7 + +inherit toolchain-funcs DESCRIPTION="An alternative protocol to UPnP IGD specification" HOMEPAGE="http://miniupnp.free.fr/libnatpmp.html" @@ -10,19 +11,21 @@ SRC_URI="http://miniupnp.free.fr/files/download.php?file=${P}.tar.gz -> ${P}.tar LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86" -IUSE="static-libs" +KEYWORDS="~amd64 arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86" + +PATCHES=( + "${FILESDIR}"/respect-FLAGS-20140401.patch + "${FILESDIR}"/respect-libdir-20120821.patch + "${FILESDIR}"/remove-static-lib-20130911.patch +) -src_prepare() { - epatch "${FILESDIR}"/respect-FLAGS-20140401.patch - epatch "${FILESDIR}"/respect-libdir-20120821.patch - use static-libs || epatch "${FILESDIR}"/remove-static-lib-20130911.patch +src_configure() { tc-export CC } src_install() { # Override HEADERS for missing declspec.h wrt #506832 - emake HEADERS='declspec.h natpmp.h' PREFIX="${D}" GENTOO_LIBDIR="$(get_libdir)" install + emake HEADERS='declspec.h natpmp.h' PREFIX="${ED}" GENTOO_LIBDIR="$(get_libdir)" install dodoc Changelog.txt README doman natpmpc.1 |