summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-arch/dczip/dczip-2.05.ebuild')
-rw-r--r--app-arch/dczip/dczip-2.05.ebuild33
1 files changed, 33 insertions, 0 deletions
diff --git a/app-arch/dczip/dczip-2.05.ebuild b/app-arch/dczip/dczip-2.05.ebuild
new file mode 100644
index 000000000000..ffff4df888a2
--- /dev/null
+++ b/app-arch/dczip/dczip-2.05.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-arch/dczip/dczip-2.05.ebuild,v 1.1 2004/02/18 22:02:26 zx Exp $
+
+DESCRIPTION="dcZip is an archiving program for managing various compression file formats"
+HOMEPAGE="http://www.davidcampaign.net/dczip.html"
+SRC_URI="http://www.davidcampaign.net/files/${PN}.jar"
+LICENSE="freedist"
+
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc ~alpha"
+IUSE=""
+DEPEND="virtual/x11
+ >=virtual/jdk-1.3"
+RDEPEND=">=virtual/jre-1.3"
+
+S=${WORKDIR}
+
+src_unpack() {
+ cp ${DISTDIR}/${A} ${WORKDIR}
+}
+
+src_install() {
+ insinto /opt/${PN}/lib
+ doins ${PN}.jar
+
+ echo "#!/bin/sh" > ${PN}
+ echo "cd /opt/${PN}" >> ${PN}
+ echo '${JAVA_HOME}'/bin/java -jar lib/${PN}.jar '$*' >> ${PN}
+
+ into /opt
+ dobin ${PN}
+}