diff options
Diffstat (limited to 'net-p2p/frost/frost-2007.07.19.ebuild')
-rw-r--r-- | net-p2p/frost/frost-2007.07.19.ebuild | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/net-p2p/frost/frost-2007.07.19.ebuild b/net-p2p/frost/frost-2007.07.19.ebuild new file mode 100644 index 000000000..9f02057fd --- /dev/null +++ b/net-p2p/frost/frost-2007.07.19.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils + +DESCRIPTION="message board and file sharing client for freenet network" +HOMEPAGE="http://jtcfrost.sourceforge.net/" +MY_V="19-Jul-2007" +MY_P="${PN}-${MY_V}" +SRC_URI=" mirror://sourceforge/jtcfrost/${MY_P}-source.zip + mirror://sourceforge/jtcfrost/${MY_P}.zip" +RESTRICT="userpriv mirror" +LICENSE="GPL-2" +IUSE="" +SLOT="0" +KEYWORDS="~x86" +RDEPEND=">=virtual/jdk-1.5 + || ( net-p2p/freenet + net-p2p/freenet-bin )" +DEPEND=">=virtual/jdk-1.5 + dev-java/ant + app-arch/unzip" +S="${WORKDIR}/${PN}-wot" + +pkg_setup() { + enewgroup frost +} + +src_unpack() { + unpack ${A} + cp -R lib ${S}/ +} + +src_compile() { + ant release +} + +src_install() { + into /opt/frost + cp -R ${S}/build/dist/* ${D}/opt/frost/ + fowners :frost /opt/frost /opt/frost/config /opt/frost/downloads /opt/frost/store /opt/frost/exec +} + +pkg_postinst() { + chmod g+w -R /opt/frost/config /opt/frost/downloads /opt/frost/store /opt/frost/exec + einfo "Start frost with sh /opt/frost/frost.sh (you have to be in the frost-group)." +} |