rtsp-conntrack-3.7.ebuild 879 B

123456789101112131415161718192021222324252627282930313233343536
  1. # Copyright 1999-2013 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=5
  4. inherit eutils linux-mod versionator
  5. DESCRIPTION="RTSP conntrack module for Netfilter"
  6. HOMEPAGE="http://mike.it-loops.com/rtsp"
  7. SRC_URI="http://mike.it-loops.com/rtsp/rtsp-module-${PV}.tar.gz"
  8. LICENSE="GPL-2"
  9. SLOT="0"
  10. KEYWORDS="amd64 x86"
  11. S="${WORKDIR}/rtsp"
  12. BUILD_TARGETS="all"
  13. MODULE_NAMES="
  14. nf_conntrack_rtsp(net/netfilter::)
  15. nf_nat_rtsp(net/ipv4/netfilter::)"
  16. MODULESD_NF_CONNTRACK_RTSP_DOCS="README.rst"
  17. CONFIG_CHECK="NF_CONNTRACK"
  18. WARNING_NF_CONNTRACK="You must enable NF_CONNTRACK in your kernel, otherwise ${PN} would not work"
  19. BUILD_PARAMS="KERNELDIR=${KERNEL_DIR} V=1"
  20. pkg_setup() {
  21. linux-mod_pkg_setup
  22. kernel_is -lt $(get_version_components) && die "This version of ${PN} would not work on kernels <= ${PV}"
  23. }
  24. src_prepare() {
  25. epatch_user
  26. }