diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2004-07-01 00:22:10 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2004-07-01 00:22:10 +0000 |
commit | 160d1734db4301cb9195c93385618a87f2553c11 (patch) | |
tree | c263f8be02881e72698f0ef5682be360d4696da8 /net-p2p/myster | |
parent | Added altivec to use.mask for amd64 profiles. (diff) | |
download | gentoo-2-160d1734db4301cb9195c93385618a87f2553c11.tar.gz gentoo-2-160d1734db4301cb9195c93385618a87f2553c11.tar.bz2 gentoo-2-160d1734db4301cb9195c93385618a87f2553c11.zip |
Unpack in src_unpack; make src_install consistent; error check install; removed nomirror
Diffstat (limited to 'net-p2p/myster')
-rw-r--r-- | net-p2p/myster/ChangeLog | 6 | ||||
-rw-r--r-- | net-p2p/myster/myster-8.0.ebuild | 23 |
2 files changed, 16 insertions, 13 deletions
diff --git a/net-p2p/myster/ChangeLog b/net-p2p/myster/ChangeLog index 42d93b86b209..3d324a848d8b 100644 --- a/net-p2p/myster/ChangeLog +++ b/net-p2p/myster/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-p2p/myster # Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/myster/ChangeLog,v 1.1 2004/06/29 09:06:40 squinky86 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-p2p/myster/ChangeLog,v 1.2 2004/07/01 00:22:10 mr_bones_ Exp $ + + 30 Jun 2004; Michael Sterrett <mr_bones_@gentoo.org> myster-8.0.ebuild: + Unpack in src_unpack; make src_install consistent; error check install; + removed nomirror *myster-8.0 (29 Jun 2004) diff --git a/net-p2p/myster/myster-8.0.ebuild b/net-p2p/myster/myster-8.0.ebuild index f8a1b0b7adef..eb179db65b5d 100644 --- a/net-p2p/myster/myster-8.0.ebuild +++ b/net-p2p/myster/myster-8.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/myster/myster-8.0.ebuild,v 1.2 2004/06/29 09:18:03 squinky86 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-p2p/myster/myster-8.0.ebuild,v 1.3 2004/07/01 00:22:10 mr_bones_ Exp $ inherit java-pkg @@ -8,7 +8,7 @@ MY_PV=${PV/.0/} DESCRIPTION="Myster is a decentralized file sharing network" HOMEPAGE="http://www.mysternetworks.com/" SRC_URI="mirror://sourceforge/myster/Myster_PR${MY_PV}_Generic.zip" -RESTRICT="nomirror" + LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" @@ -21,22 +21,21 @@ src_unpack() { unpack ${A} cd ${WORKDIR} mv "Myster PR ${MY_PV} Generic" ${P} - cd ${S} + chmod -R go-w ${S} + echo "java -jar /opt/myster/Myster.jar" >> ${T}/myster + echo "MYSTERHOME=/opt/myster" >> ${T}/50myster + echo "PATH=/opt/myster/bin" >> ${T}/50myster } src_compile () { - echo "java -jar /opt/myster/Myster.jar" >> myster - chmod -R go-w ${S} - chmod +x myster einfo "Nothing to Compile, this is a binary package" } src_install () { dodir /opt/myster - mv ${S}/* ${D}/opt/myster - dodir /opt/myster/bin - mv ${D}/opt/myster/myster ${D}/opt/myster/bin/ - dodir /etc/env.d - echo "MYSTERHOME=/opt/myster" >> ${D}/etc/env.d/50myster - echo "PATH=/opt/myster/bin" >> ${D}/etc/env.d/50myster + cp -R * ${D}/opt/myster || die "cp failed" + exeinto /opt/myster/bin + doexe ${T}/myster || die "doexe failed" + insinto /etc/env.d + doins ${T}/50myster || die "doins failed" } |