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