You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
1.1 KiB
45 lines
1.1 KiB
# Copyright 1999-2022 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
inherit linux-info verify-sig
|
|
|
|
DESCRIPTION="API to packets that have been queued by the kernel packet filter"
|
|
HOMEPAGE="https://www.netfilter.org/projects/libnetfilter_queue/"
|
|
SRC_URI="https://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2
|
|
verify-sig? ( https://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2.sig )"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~mips ppc ppc64 ~riscv ~sparc x86"
|
|
IUSE="doc static-libs"
|
|
VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/netfilter.org.asc
|
|
|
|
RDEPEND="
|
|
>=net-libs/libmnl-1.0.3
|
|
>=net-libs/libnfnetlink-0.0.41
|
|
"
|
|
DEPEND="
|
|
${RDEPEND}
|
|
"
|
|
BDEPEND="
|
|
doc? ( app-doc/doxygen )
|
|
virtual/pkgconfig
|
|
verify-sig? ( sec-keys/openpgp-keys-netfilter )
|
|
"
|
|
CONFIG_CHECK="~NETFILTER_NETLINK_QUEUE"
|
|
|
|
pkg_setup() {
|
|
linux-info_pkg_setup
|
|
kernel_is lt 2 6 14 && ewarn "requires at least 2.6.14 kernel version"
|
|
}
|
|
|
|
src_configure() {
|
|
econf $(use_with doc doxygen)
|
|
}
|
|
|
|
src_install() {
|
|
default
|
|
find "${ED}" -name '*.la' -delete || die
|
|
}
|