diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-04-23 20:17:39 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-04-23 21:30:03 +0200 |
commit | 58e3ac3887cdd2783e48d702b3570d8b425cf2c6 (patch) | |
tree | 5b05cb462c4cd1aa7c958be26fa37624e6150165 /net-libs/libnatpmp | |
parent | dev-python/scipy: Put EPYTEST_* in python_test() for readability (diff) | |
download | gentoo-58e3ac3887cdd2783e48d702b3570d8b425cf2c6.tar.gz gentoo-58e3ac3887cdd2783e48d702b3570d8b425cf2c6.tar.bz2 gentoo-58e3ac3887cdd2783e48d702b3570d8b425cf2c6.zip |
net-libs/libnatpmp: Bump to 20230423
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'net-libs/libnatpmp')
-rw-r--r-- | net-libs/libnatpmp/Manifest | 1 | ||||
-rw-r--r-- | net-libs/libnatpmp/libnatpmp-20230423.ebuild | 32 |
2 files changed, 33 insertions, 0 deletions
diff --git a/net-libs/libnatpmp/Manifest b/net-libs/libnatpmp/Manifest index 3e9e60233fc8..4bb2fd37431d 100644 --- a/net-libs/libnatpmp/Manifest +++ b/net-libs/libnatpmp/Manifest @@ -1 +1,2 @@ DIST libnatpmp-20150609.tar.gz 24392 BLAKE2B 0a8df6badf222328a24ae94a97386593c42bcda58cada97d37a2cf74f6f6b5e27189753590552187ed7afce66d34d204b9d18ecd38ac0bcbadf8c8129a3b44ad SHA512 e50b1f68ce9254bb2f068ddc37417a3c417b80f7b3fb3d84e3e9af4a144d89e204ab993b54c01657335e855d0124a8fcbbf96ce78db7b9ae0b03b6eb79de2e09 +DIST libnatpmp-20230423.tar.gz 26506 BLAKE2B 01386509e410312d5063038a4a929e2c838d8e6061f693cd43144f98dc4725deff459cb476842e6fab78323fb87ac0ce0f74efe3837031d89ea846932dc4fdcf SHA512 1697a414f0ff73876c177d8e09242c8da6fd4bc9b1c3a893bfb082420bfdac30f455507b81937042caaf6b30756d2055c073ee1de1ac73f7ef31e4c68e5c4ed7 diff --git a/net-libs/libnatpmp/libnatpmp-20230423.ebuild b/net-libs/libnatpmp/libnatpmp-20230423.ebuild new file mode 100644 index 000000000000..45eb3613da14 --- /dev/null +++ b/net-libs/libnatpmp/libnatpmp-20230423.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="An alternative protocol to UPnP IGD specification" +HOMEPAGE=" + http://miniupnp.free.fr/libnatpmp.html + https://miniupnp.tuxfamily.org/libnatpmp.html + https://github.com/miniupnp/libnatpmp/ +" +SRC_URI="https://miniupnp.tuxfamily.org/files/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" + +PATCHES=( "${FILESDIR}"/${PN}-20150609-gentoo.patch ) + +src_configure() { + tc-export CC +} + +src_install() { + # Override HEADERS for missing declspec.h wrt #506832 + emake HEADERS='declspec.h natpmp.h' PREFIX="${ED}" GENTOO_LIBDIR="$(get_libdir)" install + + dodoc Changelog.txt README + doman natpmpc.1 +} |