[net-libs/libnftnl] sync
This commit is contained in:
parent
43ce164517
commit
b4baf6f72d
@ -14,7 +14,9 @@ SLOT="0/11" # libnftnl.so version
|
||||
KEYWORDS=""
|
||||
IUSE="examples static-libs test"
|
||||
|
||||
RDEPEND=">=net-libs/libmnl-1.0.0"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND=">=net-libs/libmnl-1.0.3"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
@ -32,16 +34,16 @@ src_prepare() {
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
$(use_enable static-libs static)
|
||||
)
|
||||
econf "${myeconfargs[@]}"
|
||||
local myeconfargs=(
|
||||
$(use_enable static-libs static)
|
||||
)
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
gen_usr_ldscript -a nftnl
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
find "${ED}" -type f -name '*.la' -delete || die
|
||||
|
||||
if use examples; then
|
||||
find examples/ -name 'Makefile*' -delete || die "Could not rm examples"
|
||||
|
Loading…
Reference in New Issue
Block a user