mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-12-19 00:18:26 +00:00
Result of running the command: grep --include="*.ebuild" -r . -e 'KEYWORDS=.*[" ]sparc' -l | xargs ekeyword ~sparc Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
32 lines
799 B
Bash
32 lines
799 B
Bash
# Copyright 1999-2025 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="natpmp.h natpmp_declspec.h" PREFIX="${ED}" GENTOO_LIBDIR="$(get_libdir)" install
|
|
|
|
dodoc Changelog.txt README
|
|
doman natpmpc.1
|
|
}
|