/[gentoo-x86]/app-arch/dczip/dczip-2.05.ebuild
Gentoo

Contents of /app-arch/dczip/dczip-2.05.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.11 - (show annotations) (download)
Fri Nov 9 19:47:14 2007 UTC (7 years, 7 months ago) by armin76
Branch: MAIN
CVS Tags: HEAD
Changes since 1.10: +3 -3 lines
alpha doesn't have java
(Portage version: 2.1.3.19)

1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-arch/dczip/dczip-2.05.ebuild,v 1.10 2006/10/08 20:05:29 grobian Exp $
4
5 DESCRIPTION="dcZip is an archiving program for managing various compression file formats"
6 HOMEPAGE="http://www.davidcampaign.net/dczip.html"
7 SRC_URI="http://www.davidcampaign.net/files/${PN}.jar"
8 LICENSE="freedist"
9 SLOT="0"
10 KEYWORDS="~amd64 ppc x86"
11 IUSE=""
12 DEPEND=""
13 RDEPEND=">=virtual/jre-1.3"
14
15 S="${WORKDIR}"
16
17 src_unpack() {
18 cp "${DISTDIR}/${A}" "${WORKDIR}"
19 }
20
21 src_install() {
22 insinto /opt/${PN}/lib
23 doins ${PN}.jar
24
25 echo "#!/bin/sh" > ${PN}
26 echo "cd /opt/${PN}" >> ${PN}
27 echo '${JAVA_HOME}'/bin/java -jar lib/${PN}.jar '$*' >> ${PN}
28
29 into /opt
30 dobin ${PN}
31 }

  ViewVC Help
Powered by ViewVC 1.1.20