summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/apt-mirror')
-rw-r--r--dev-java/apt-mirror/ChangeLog10
-rw-r--r--dev-java/apt-mirror/apt-mirror-1.0.ebuild38
-rw-r--r--dev-java/apt-mirror/files/build.xml-1.012
-rw-r--r--dev-java/apt-mirror/files/digest-apt-mirror-1.03
-rw-r--r--dev-java/apt-mirror/metadata.xml8
5 files changed, 71 insertions, 0 deletions
diff --git a/dev-java/apt-mirror/ChangeLog b/dev-java/apt-mirror/ChangeLog
new file mode 100644
index 000000000000..c8441b4b2486
--- /dev/null
+++ b/dev-java/apt-mirror/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-java/apt-mirror
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/apt-mirror/ChangeLog,v 1.1 2007/05/01 19:34:47 nelchael Exp $
+
+*apt-mirror-1.0 (01 May 2007)
+
+ 01 May 2007; Krzysiek Pawlik <nelchael@gentoo.org> +files/build.xml-1.0,
+ +metadata.xml, +apt-mirror-1.0.ebuild:
+ Initial commit of apt-mirror.
+
diff --git a/dev-java/apt-mirror/apt-mirror-1.0.ebuild b/dev-java/apt-mirror/apt-mirror-1.0.ebuild
new file mode 100644
index 000000000000..44870a0f8ec5
--- /dev/null
+++ b/dev-java/apt-mirror/apt-mirror-1.0.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/apt-mirror/apt-mirror-1.0.ebuild,v 1.1 2007/05/01 19:34:47 nelchael Exp $
+
+JAVA_PKG_IUSE="source"
+
+inherit java-pkg-2 java-ant-2 eutils
+
+DESCRIPTION="Annotation processing apt mirror API introduced in J2SE 5.0"
+HOMEPAGE="http://aptmirrorapi.dev.java.net/"
+SRC_URI="http://overlays.gentoo.org/svn/proj/java/wsdp-overlay/distfiles/${P}.tar.bz2"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+IUSE=""
+
+RDEPEND=">=virtual/jre-1.5"
+DEPEND=">=virtual/jdk-1.5"
+
+S="${WORKDIR}/apt"
+
+src_unpack() {
+
+ unpack ${A}
+ cp -i "${FILESDIR}/build.xml-${PV}" "${S}/build.xml" || die "cp failed"
+
+}
+
+src_install() {
+
+ java-pkg_dojar "apt-mirror.jar"
+
+ use source && java-pkg_dosrc .
+ dodoc README.txt
+
+}
diff --git a/dev-java/apt-mirror/files/build.xml-1.0 b/dev-java/apt-mirror/files/build.xml-1.0
new file mode 100644
index 000000000000..f376e5733624
--- /dev/null
+++ b/dev-java/apt-mirror/files/build.xml-1.0
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<project name="apt-mirror" default="jar" basedir=".">
+ <target name="compile">
+ <mkdir dir="build"/>
+ <javac debug="false" srcdir="." destdir="build" encoding="UTF-8"/>
+ </target>
+ <target name="jar" depends="compile">
+ <jar destfile="apt-mirror.jar">
+ <fileset dir="build" includes="**/*.class"/>
+ </jar>
+ </target>
+</project>
diff --git a/dev-java/apt-mirror/files/digest-apt-mirror-1.0 b/dev-java/apt-mirror/files/digest-apt-mirror-1.0
new file mode 100644
index 000000000000..4742fea5f169
--- /dev/null
+++ b/dev-java/apt-mirror/files/digest-apt-mirror-1.0
@@ -0,0 +1,3 @@
+MD5 1445951cb26d641ad60d6beee49674d1 apt-mirror-1.0.tar.bz2 21396
+RMD160 11aec8ca4aa999f9247286ca1bb4e3d117420c17 apt-mirror-1.0.tar.bz2 21396
+SHA256 62daf3cf424d1d55f7c93ca12c6996e4a7ec11acbeba6d4903d7839471cbae62 apt-mirror-1.0.tar.bz2 21396
diff --git a/dev-java/apt-mirror/metadata.xml b/dev-java/apt-mirror/metadata.xml
new file mode 100644
index 000000000000..39fffcd80808
--- /dev/null
+++ b/dev-java/apt-mirror/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>java</herd>
+ <maintainer>
+ <email>nelchael@gentoo.org</email>
+ </maintainer>
+</pkgmetadata>