summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--multimedia/ggrab/DESCR2
-rw-r--r--multimedia/ggrab/Makefile29
-rw-r--r--multimedia/ggrab/PLIST6
-rw-r--r--multimedia/ggrab/distinfo5
-rw-r--r--multimedia/ggrab/files/sserver.sh17
5 files changed, 59 insertions, 0 deletions
diff --git a/multimedia/ggrab/DESCR b/multimedia/ggrab/DESCR
new file mode 100644
index 00000000000..bd90c1b0b48
--- /dev/null
+++ b/multimedia/ggrab/DESCR
@@ -0,0 +1,2 @@
+Server for recording video streams from dream multimedia set-top
+boxes to hard disk.
diff --git a/multimedia/ggrab/Makefile b/multimedia/ggrab/Makefile
new file mode 100644
index 00000000000..9fe3573e495
--- /dev/null
+++ b/multimedia/ggrab/Makefile
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/04/07 15:58:36 mjl Exp $
+#
+
+DISTNAME= ${PKGNAME}-linux
+PKGNAME= ggrab-0.22a
+CATEGORIES= multimedia
+MASTER_SITES= http://www.menzebach.de/ggrab/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= tech-pkg@NetBSD.org
+HOMEPAGE= http://www.menzebach.de/ggrab/
+COMMENT= Server for recording video streams from dream dvb-receivers
+
+USE_LANGUAGES= c++
+WRKSRC= ${WRKDIR}/ggrab-0.22a
+
+RCD_SCRIPTS= sserver
+EGDIR= ${PREFIX}/share/examples/${PKGBASE}
+DOCDIR= ${PREFIX}/share/doc/${PKGBASE}
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/ggrab ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/sserver ${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCDIR}/
+ ${INSTALL_DATA_DIR} ${EGDIR}
+
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/multimedia/ggrab/PLIST b/multimedia/ggrab/PLIST
new file mode 100644
index 00000000000..0d9ab6d44c0
--- /dev/null
+++ b/multimedia/ggrab/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/04/07 15:58:36 mjl Exp $
+bin/ggrab
+bin/sserver
+share/doc/ggrab/README
+share/examples/rc.d/sserver
+@dirrm share/doc/ggrab
diff --git a/multimedia/ggrab/distinfo b/multimedia/ggrab/distinfo
new file mode 100644
index 00000000000..d13c041ab23
--- /dev/null
+++ b/multimedia/ggrab/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2006/04/07 15:58:36 mjl Exp $
+
+SHA1 (ggrab-0.22a-linux.tgz) = bb73e45ad9918e70ee21baadcc0771a6ca55032d
+RMD160 (ggrab-0.22a-linux.tgz) = a272515ac6c40d3c899527e5590bd86893f694e8
+Size (ggrab-0.22a-linux.tgz) = 503296 bytes
diff --git a/multimedia/ggrab/files/sserver.sh b/multimedia/ggrab/files/sserver.sh
new file mode 100644
index 00000000000..b7d32160f4a
--- /dev/null
+++ b/multimedia/ggrab/files/sserver.sh
@@ -0,0 +1,17 @@
+#!@RCD_SCRIPTS_SHELL@
+#
+# $NetBSD: sserver.sh,v 1.1.1.1 2006/04/07 15:58:36 mjl Exp $
+#
+
+# PROVIDE: sserver
+# REQUIRE: DAEMON LOGIN
+
+. /etc/rc.subr
+
+name="sserver"
+rcvar=$name
+command="@PREFIX@/bin/${name}"
+command_args="</dev/null >/dev/null 2>&1 &"
+
+load_rc_config $name
+run_rc_command "$1"