diff options
author | Matt Keadle <mkeadle@gentoo.org> | 2003-06-19 19:04:02 +0000 |
---|---|---|
committer | Matt Keadle <mkeadle@gentoo.org> | 2003-06-19 19:04:02 +0000 |
commit | 7c528186ed7edba0cfaeddbcf00194b0f0335634 (patch) | |
tree | 8fa720026b9d214074a2f99b211848f9444cb5a5 | |
parent | new ebuilds (diff) | |
download | historical-7c528186ed7edba0cfaeddbcf00194b0f0335634.tar.gz historical-7c528186ed7edba0cfaeddbcf00194b0f0335634.tar.bz2 historical-7c528186ed7edba0cfaeddbcf00194b0f0335634.zip |
now includes 100% more init script!
-rw-r--r-- | media-video/camserv/ChangeLog | 8 | ||||
-rw-r--r-- | media-video/camserv/Manifest | 5 | ||||
-rw-r--r-- | media-video/camserv/camserv-0.5.1-r2.ebuild | 56 | ||||
-rw-r--r-- | media-video/camserv/files/camserv.init | 19 | ||||
-rw-r--r-- | media-video/camserv/files/digest-camserv-0.5.1-r2 | 1 |
5 files changed, 87 insertions, 2 deletions
diff --git a/media-video/camserv/ChangeLog b/media-video/camserv/ChangeLog index 3249b5d93f3e..178378e22852 100644 --- a/media-video/camserv/ChangeLog +++ b/media-video/camserv/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-video/camserv # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/camserv/ChangeLog,v 1.5 2003/02/12 07:36:57 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/camserv/ChangeLog,v 1.6 2003/06/19 19:03:50 mkeadle Exp $ + +*camserv-0.5.1-r2 (19 Jun 2003) + + 19 Jun 2003; mkeadle <mkeadle@gentoo.org> camserv-0.5.1-r2.ebuild, + files/camserv.init: + adding init script to start/stop camserv. closes bug request #22204. 09 Feb 2003; Jared Hudson <jhhudso@gentoo.org> : Fixed a bug that was keeping it from compiling. diff --git a/media-video/camserv/Manifest b/media-video/camserv/Manifest index f43d63a7c208..bbb03859d0d9 100644 --- a/media-video/camserv/Manifest +++ b/media-video/camserv/Manifest @@ -1,7 +1,10 @@ -MD5 b4d9f0b096c0f401516d83dd059510bb ChangeLog 1003 +MD5 295f9b3887e2cefafd7363a7bf844889 ChangeLog 1200 MD5 2a95ec1b51e4f19e3a05cd22641b3417 camserv-0.5.0.ebuild 704 MD5 fa2f7b02e5598df5c1ed4dc8a58ebb69 camserv-0.5.1-r1.ebuild 1150 MD5 2d9d1884da11ba9d62d86412e8422a98 camserv-0.5.1.ebuild 695 +MD5 95440ffd87e793034dfda6cd75624db2 camserv-0.5.1-r2.ebuild 1263 +MD5 e071f954a6684d1a34a7afe4efe807bc files/camserv.init 561 MD5 c473cf955721d867b267d2ca2c0d32ae files/digest-camserv-0.5.0 65 MD5 0cc8188d6f8abfc2eb25e9b9352283ac files/digest-camserv-0.5.1 65 MD5 0cc8188d6f8abfc2eb25e9b9352283ac files/digest-camserv-0.5.1-r1 65 +MD5 0cc8188d6f8abfc2eb25e9b9352283ac files/digest-camserv-0.5.1-r2 65 diff --git a/media-video/camserv/camserv-0.5.1-r2.ebuild b/media-video/camserv/camserv-0.5.1-r2.ebuild new file mode 100644 index 000000000000..6a669e38e1c0 --- /dev/null +++ b/media-video/camserv/camserv-0.5.1-r2.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/camserv/camserv-0.5.1-r2.ebuild,v 1.1 2003/06/19 19:03:50 mkeadle Exp $ + +S=${WORKDIR}/${P} +DESCRIPTION="A streaming video server." +SRC_URI="mirror://sourceforge/cserv/${P}.tar.gz" +HOMEPAGE="http://cserv.sourceforge.net/" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86" + +DEPEND=">=media-libs/jpeg-6b-r2 + >=media-libs/imlib-1.9.13-r2" + +src_compile() { + + _CC="${CC}" + _CFLAGS="${CFLAGS}" + _CXXFLAGS="${CXXFLAGS}" + _CHOST="${CHOST}" + unset CC + unset CFLAGS + unset CXXFLAGS + unset CHOST + + ./configure \ + --prefix=/usr \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --datadir=/usr/share \ + --sysconfdir=/etc \ + --localstatedir=/var/lib || die "./configure failed" + + CC="${_CC}" + CFLAGS="${_CFLAGS}" + CXXFLAGS="${_CXXFLAGS}" + CHOST="${_CHOST}" + + emake || die + +} + +src_install () { + + einstall datadir=${D}/usr/share/${PN} || die + + dodoc AUTHORS BUGS ChangeLog COPYING NEWS README TODO javascript.txt + dohtml defpage.html + # new init script + insinto /etc/init.d + newins ${FILESDIR}/camserv.init camserv + fperms +x /etc/init.d/camserv + +} diff --git a/media-video/camserv/files/camserv.init b/media-video/camserv/files/camserv.init new file mode 100644 index 000000000000..a717b7a45498 --- /dev/null +++ b/media-video/camserv/files/camserv.init @@ -0,0 +1,19 @@ +#!/sbin/runscript +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/camserv/files/camserv.init,v 1.1 2003/06/19 19:03:50 mkeadle Exp $ + +depend() { + need net +} + +start() { + ebegin "Starting camserv" + start-stop-daemon --start --quiet --background --exec /usr/bin/camserv + eend $? "Failed to start camserv" +} +stop() { + ebegin "Stopping camserv" + start-stop-daemon --stop --oknodo --quiet --exec /usr/bin/camserv + eend $? "Failed to stop camserv" +} diff --git a/media-video/camserv/files/digest-camserv-0.5.1-r2 b/media-video/camserv/files/digest-camserv-0.5.1-r2 new file mode 100644 index 000000000000..f567dc140232 --- /dev/null +++ b/media-video/camserv/files/digest-camserv-0.5.1-r2 @@ -0,0 +1 @@ +MD5 ad6a1c9a5b522a4ee2189c66d7fbda72 camserv-0.5.1.tar.gz 487645 |