diff options
author | Todd Berman <tberman@gentoo.org> | 2003-05-23 18:14:30 +0000 |
---|---|---|
committer | Todd Berman <tberman@gentoo.org> | 2003-05-23 18:14:30 +0000 |
commit | c5ebd876b7c139f1663b6526bb693e18f9339d99 (patch) | |
tree | 25cb1c6c295bfcbc6e8088dfcfffe73b558ad7a2 /net-www/amphetadesk | |
parent | Initial Import. (diff) | |
download | historical-c5ebd876b7c139f1663b6526bb693e18f9339d99.tar.gz historical-c5ebd876b7c139f1663b6526bb693e18f9339d99.tar.bz2 historical-c5ebd876b7c139f1663b6526bb693e18f9339d99.zip |
Initial Import.
Diffstat (limited to 'net-www/amphetadesk')
-rw-r--r-- | net-www/amphetadesk/Manifest | 4 | ||||
-rw-r--r-- | net-www/amphetadesk/amphetadesk-0.93.1.ebuild | 39 | ||||
-rw-r--r-- | net-www/amphetadesk/files/amphetadesk.initd | 15 | ||||
-rw-r--r-- | net-www/amphetadesk/files/digest-amphetadesk-0.93.1 | 1 |
4 files changed, 57 insertions, 2 deletions
diff --git a/net-www/amphetadesk/Manifest b/net-www/amphetadesk/Manifest index e60fcec347b4..3baab3b20b97 100644 --- a/net-www/amphetadesk/Manifest +++ b/net-www/amphetadesk/Manifest @@ -1,4 +1,4 @@ -MD5 b080ff9e6f6d2b17d3ae5c45025b6499 amphetadesk-0.93.1.ebuild 1292 -MD5 cbdb5164ab530a1209197c19ef80a142 ChangeLog 284 +MD5 fdb9372ea1c475343a841970d242802e amphetadesk-0.93.1.ebuild 1401 +MD5 481af4691c4f4df03960cc8dee5cf1ca ChangeLog 377 MD5 e974e73646575c737c41b43b1806f554 files/amphetadesk.initd 204 MD5 94387e2d2ef31bb8f0e6671d89e4f827 files/digest-amphetadesk-0.93.1 75 diff --git a/net-www/amphetadesk/amphetadesk-0.93.1.ebuild b/net-www/amphetadesk/amphetadesk-0.93.1.ebuild new file mode 100644 index 000000000000..abfdc8b0b044 --- /dev/null +++ b/net-www/amphetadesk/amphetadesk-0.93.1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-www/amphetadesk/amphetadesk-0.93.1.ebuild,v 1.1 2003/05/23 18:14:22 tberman Exp $ + +DESCRIPTION="AmphetaDesk is a free syndicated news aggregator" +HOMEPAGE="http://www.disobey.com/amphetadesk/" +SRC_URI="http://aleron.dl.sourceforge.net/sourceforge/amphetadesk/${PN}-src-v${PV}.tar.gz" +LICENSE="Artistic" +SLOT="0" +KEYWORDS="~x86" +IUSE="" +DEPEND="dev-lang/perl + dev-perl/libwww-perl + dev-libs/expat + dev-perl/XML-Parser + dev-perl/Compress-Zlib" +S=${WORKDIR}/${PN}-src-v${PV} + + +src_install() { + dodir /usr/share/amphetadesk + cp ${S}/AmphetaDesk.pl ${D}/usr/share/amphetadesk/AmphetaDesk.pl + dodoc README.txt + cp -R ${S}/data ${D}/usr/share/amphetadesk + cp -R ${S}/docs ${D}/usr/share/amphetadesk + cp -R ${S}/lib ${D}/usr/share/amphetadesk + cp -R ${S}/templates ${D}/usr/share/amphetadesk + exeinto /etc/init.d; newexe ${FILESDIR}/amphetadesk.initd amphetadesk +} + +pkg_postinst() { + einfo "AmphetaDesk should be started and stopped with the runscript located at " + einfo "'/etc/init.d/amphetadesk'. You can access AmphetaDesk after it has been" + einfo "started in your browser of choice on port 8888." + einfo "" + ewarn "If you start AmphetaDesk at boot with rc-update don't give it a browser" + ewarn "to start up when it loads (in the options page)" +} + diff --git a/net-www/amphetadesk/files/amphetadesk.initd b/net-www/amphetadesk/files/amphetadesk.initd new file mode 100644 index 000000000000..288a11bc1ea6 --- /dev/null +++ b/net-www/amphetadesk/files/amphetadesk.initd @@ -0,0 +1,15 @@ +#!/sbin/runscript + +start() { + ebegin "Starting AmphetaDesk" + cd /usr/share/amphetadesk + ./AmphetaDesk.pl > /dev/null & + eend 0 +} + +stop() { + ebegin "Stoping AmphetaDesk" + killall AmphetaDesk.pl + eend 0 +} + diff --git a/net-www/amphetadesk/files/digest-amphetadesk-0.93.1 b/net-www/amphetadesk/files/digest-amphetadesk-0.93.1 new file mode 100644 index 000000000000..7c999c5e3a3f --- /dev/null +++ b/net-www/amphetadesk/files/digest-amphetadesk-0.93.1 @@ -0,0 +1 @@ +MD5 1ea3b033381be6e694d78b183821f90b amphetadesk-src-v0.93.1.tar.gz 853503 |