summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authordrochner <drochner>2010-07-21 18:27:12 +0000
committerdrochner <drochner>2010-07-21 18:27:12 +0000
commitac1dbe675f10aa17f46a2e8d7df1ec0d4b1869fb (patch)
tree6d55ce705869602c33af2c738930e8ce6018719b /net
parentf4438e1703f4a03977aa14fd7b2c4c89a2d1e094 (diff)
downloadpkgsrc-ac1dbe675f10aa17f46a2e8d7df1ec0d4b1869fb.tar.gz
add rtmpdump-2.3, a library+tool for RTMP streams, from Ryo ONODERA
per pkgsrc-wip
Diffstat (limited to 'net')
-rw-r--r--net/rtmpdump/DESCR3
-rw-r--r--net/rtmpdump/Makefile33
-rw-r--r--net/rtmpdump/PLIST16
-rw-r--r--net/rtmpdump/buildlink3.mk15
-rw-r--r--net/rtmpdump/distinfo5
5 files changed, 72 insertions, 0 deletions
diff --git a/net/rtmpdump/DESCR b/net/rtmpdump/DESCR
new file mode 100644
index 00000000000..9e5c75849ea
--- /dev/null
+++ b/net/rtmpdump/DESCR
@@ -0,0 +1,3 @@
+rtmpdump is a toolkit for RTMP streams. All forms of RTMP are
+supported, including rtmp://, rtmpt://, rtmpe://, rtmpte://, and
+rtmps://.
diff --git a/net/rtmpdump/Makefile b/net/rtmpdump/Makefile
new file mode 100644
index 00000000000..e03757ddb03
--- /dev/null
+++ b/net/rtmpdump/Makefile
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/07/21 18:27:12 drochner Exp $
+#
+
+DISTNAME= rtmpdump-2.3
+CATEGORIES= net multimedia
+MASTER_SITES= http://rtmpdump.mplayerhq.hu/download/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= ryo_on@yk.rim.or.jp
+HOMEPAGE= http://rtmpdump.mplayerhq.hu/
+COMMENT= Tools for handling RTMP stream
+
+LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2.1
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+USE_TOOLS+= pkg-config
+USE_LIBTOOL= yes
+BUILD_DIRS= . \
+ librtmp
+
+PKGCONFIG_OVERRIDE+= librtmp/librtmp.pc.in
+
+SUBST_CLASSES+= fix-paths
+SUBST_STAGE.fix-paths= pre-configure
+SUBST_MESSAGE.fix-paths= Fixing absolute paths.
+SUBST_FILES.fix-paths= Makefile
+SUBST_FILES.fix-paths+= librtmp/Makefile
+SUBST_SED.fix-paths= -e 's,/usr/local,${PREFIX},g'
+
+.include "../../security/openssl/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/rtmpdump/PLIST b/net/rtmpdump/PLIST
new file mode 100644
index 00000000000..3b52fa22727
--- /dev/null
+++ b/net/rtmpdump/PLIST
@@ -0,0 +1,16 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2010/07/21 18:27:12 drochner Exp $
+bin/rtmpdump
+include/librtmp/amf.h
+include/librtmp/http.h
+include/librtmp/log.h
+include/librtmp/rtmp.h
+lib/librtmp.a
+lib/librtmp.so
+lib/librtmp.so.0
+lib/pkgconfig/librtmp.pc
+man/man1/rtmpdump.1
+man/man3/librtmp.3
+man/man8/rtmpgw.8
+sbin/rtmpgw
+sbin/rtmpsrv
+sbin/rtmpsuck
diff --git a/net/rtmpdump/buildlink3.mk b/net/rtmpdump/buildlink3.mk
new file mode 100644
index 00000000000..45fca03f3f6
--- /dev/null
+++ b/net/rtmpdump/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2010/07/21 18:27:12 drochner Exp $
+
+BUILDLINK_TREE+= rtmpdump
+
+.if !defined(RTMPDUMP_BUILDLINK3_MK)
+RTMPDUMP_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.rtmpdump+= rtmpdump>=2.3
+BUILDLINK_PKGSRCDIR.rtmpdump?= ../../net/rtmpdump
+
+.include "../../security/openssl/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.endif # RTMPDUMP_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -rtmpdump
diff --git a/net/rtmpdump/distinfo b/net/rtmpdump/distinfo
new file mode 100644
index 00000000000..469ee27522c
--- /dev/null
+++ b/net/rtmpdump/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2010/07/21 18:27:12 drochner Exp $
+
+SHA1 (rtmpdump-2.3.tgz) = b65ce7708ae79adb51d1f43dd0b6d987076d7c42
+RMD160 (rtmpdump-2.3.tgz) = 1d48925e6567783806fa68819d6a695cd06138bc
+Size (rtmpdump-2.3.tgz) = 125103 bytes