blob: 534cff3b4184f9f54d5d2f633d8f1b9d1a9c0da3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/cryptix/cryptix-3.2.0-r1.ebuild,v 1.1 2007/03/17 20:22:52 nelchael Exp $
inherit java-pkg-2 java-ant-2
DESCRIPTION="Aims at facilitating the task programmers face in coding, accessing and generating java-bound, both types and values, defined as ASN.1 constructs, or encoded as such."
HOMEPAGE="http://cryptix-asn1.sourceforge.net/"
SRC_URI="mirror://gentoo/cryptix32-20001002-r3.2.0.zip"
LICENSE="CGL"
SLOT="3.2"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="doc source"
DEPEND=">=virtual/jdk-1.4
app-arch/unzip
source? ( app-arch/zip )"
RDEPEND=">=virtual/jre-1.4"
S="${WORKDIR}"
src_unpack() {
unpack ${A}
cd ${S}
cp ${FILESDIR}/build.xml .
rm -f cryptix32.jar
}
src_compile() {
eant jar
}
src_install() {
java-pkg_dojar lib/cryptix32.jar
use doc && java-pkg_dohtml doc/api/*
use source && java-pkg_dosrc src/*
}
|