Browse Source

[net-libs/libnftnl] sync

master
Robert Förster 3 years ago
parent
commit
b4baf6f72d
  1. 14
      net-libs/libnftnl/libnftnl-9999.ebuild

14
net-libs/libnftnl/libnftnl-9999.ebuild

@ -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…
Cancel
Save