net-libs/libnet: Update live ebuild

Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
This commit is contained in:
Jeroen Roovers
2019-10-09 08:38:57 +02:00
parent 87d0b7b088
commit 1fbcd7e0e9

View File

@@ -11,16 +11,12 @@ EGIT_REPO_URI="https://github.com/libnet/libnet"
LICENSE="BSD BSD-2 HPND"
SLOT="1.1"
KEYWORDS=""
IUSE="doc static-libs"
IUSE="static-libs"
DOCS=(
README.md doc/{CHANGELOG,CONTRIB,DESIGN_NOTES,MIGRATION}
doc/{PACKET_BUILDING,PORTED,RAWSOCKET_NON_SEQUITUR,TODO}
ChangeLog.md README.md doc/{MIGRATION,RAWSOCKET_NON_SEQUITUR,TODO}
)
S=${WORKDIR}/${P/_/-}
PATCHES=(
"${FILESDIR}"/${PN}-1.2-socklen_t.patch
)
src_prepare() {
default
@@ -35,12 +31,5 @@ src_configure() {
src_install() {
default
if use doc ; then
docinto html
dodoc -r doc/html/*
docinto sample
dodoc sample/*.[ch]
fi
find "${D}" -name '*.la' -delete || die
}