Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 699536
Collapse All | Expand All

(-)a/libnatpmp-20150609.ebuild (-2 / +3 lines)
Lines 1-7 Link Here
1
# Copyright 1999-2018 Gentoo Foundation
1
# Copyright 1999-2018 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
3
4
EAPI="5"
4
EAPI="7"
5
inherit eutils toolchain-funcs multilib
5
inherit eutils toolchain-funcs multilib
6
6
7
DESCRIPTION="An alternative protocol to UPnP IGD specification"
7
DESCRIPTION="An alternative protocol to UPnP IGD specification"
Lines 18-28 Link Here
18
	epatch "${FILESDIR}"/respect-libdir-20120821.patch
18
	epatch "${FILESDIR}"/respect-libdir-20120821.patch
19
	use static-libs || epatch "${FILESDIR}"/remove-static-lib-20130911.patch
19
	use static-libs || epatch "${FILESDIR}"/remove-static-lib-20130911.patch
20
	tc-export CC
20
	tc-export CC
21
	eapply_user
21
}
22
}
22
23
23
src_install() {
24
src_install() {
24
	# Override HEADERS for missing declspec.h wrt #506832
25
	# Override HEADERS for missing declspec.h wrt #506832
25
	emake HEADERS='declspec.h natpmp.h' PREFIX="${D}" GENTOO_LIBDIR="$(get_libdir)" install
26
	emake HEADERS='declspec.h natpmp.h' PREFIX="${ED}" GENTOO_LIBDIR="$(get_libdir)" install
26
27
27
	dodoc Changelog.txt README
28
	dodoc Changelog.txt README
28
	doman natpmpc.1
29
	doman natpmpc.1

Return to bug 699536