mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user