summaryrefslogtreecommitdiff
path: root/package/rtsp/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-04-25 14:30:28 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-04-25 14:30:28 +0200
commit4b2636bd2aea3aa4f5844083a1de0e9283f31a7a (patch)
treecc107b7bd164aaa28c759900e090050e49251b18 /package/rtsp/Makefile
parentab0fccc6bc1991aa1a9e37fde4b6e27361b7ff44 (diff)
use latest version of rtsp as a package, instead of kernel patch
Diffstat (limited to 'package/rtsp/Makefile')
-rw-r--r--package/rtsp/Makefile38
1 files changed, 38 insertions, 0 deletions
diff --git a/package/rtsp/Makefile b/package/rtsp/Makefile
new file mode 100644
index 000000000..c28467b9b
--- /dev/null
+++ b/package/rtsp/Makefile
@@ -0,0 +1,38 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include ${TOPDIR}/rules.mk
+
+PKG_NAME:= rtsp
+PKG_VERSION:= 1.0
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 92bb09883dd8a77ec5cfbff1c8932b15
+PKG_DESCR:= Netfilter connection tracking for RTSP
+PKG_SECTION:= net
+PKG_URL:= http://github.com/maru-sama/rtsp-linux-v2.6
+
+NO_DISTFILES:= 1
+
+include ${TOPDIR}/mk/package.mk
+
+$(eval $(call PKG_template,KMOD_RTSP,kmod-rtsp,${KERNEL_VERSION}-${ADK_TARGET}-${PKG_RELEASE},,${PKG_DESCR},${PKG_SECTION}))
+
+CONFIG_STYLE:= manual
+BUILD_STYLE:= manual
+INSTALL_STYLE:= manual
+
+pre-build:
+ V=1 ARCH=${ARCH} KERNELDIR=${LINUX_DIR} \
+ PREFIX=/usr CROSS_COMPILE="${TARGET_CROSS}" \
+ LD=$(TARGET_CROSS)gcc LDFLAGS="" \
+ $(MAKE) -C ${WRKBUILD} debug
+
+do-install:
+ ${INSTALL_DIR} ${IDIR_KMOD_RTSP}/etc/modules.d/
+ echo "nf_conntrack_rtsp" > ${IDIR_KMOD_RTSP}/etc/modules.d/60-nf-nat-rtsp
+ echo "nf_nat_rtsp" >> ${IDIR_KMOD_RTSP}/etc/modules.d/60-nf-nat-rtsp
+ ${INSTALL_DIR} ${IDIR_KMOD_RTSP}/lib/modules/${KERNEL_VERSION}/
+ ${INSTALL_DATA} ${WRKBUILD}/*.ko \
+ ${IDIR_KMOD_RTSP}/lib/modules/${KERNEL_VERSION}
+
+include ${TOPDIR}/mk/pkg-bottom.mk