-MD5 846bf47ee6562f6ca2af7a2b141791b8 axion-1.0_rc2.ebuild 1916
+MD5 dfda9bbb67ba7c21dfde4dcecefebf33 axion-1.0_rc2.ebuild 1566
MD5 b4bdcaa70f12182da867a5325fdda970 ChangeLog 334
MD5 1efa58c8ec21eb8f929a4abccb0a543e metadata.xml 515
MD5 40a767f2792e03e5e7b536b901a4417d files/digest-axion-1.0_rc2 68
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/axion/axion-1.0_rc2.ebuild,v 1.1 2004/03/30 23:59:47 karltk Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/axion/axion-1.0_rc2.ebuild,v 1.2 2004/03/31 00:20:49 karltk Exp $
inherit java-pkg
src_unpack() {
unpack ${A}
cd ${S}
- # It's pure luck that this works. Only the first element of
- # each classpath will be picked. We need to symlink all
- # jarfiles into lib/ at some point.
- ( echo junit.jar=$(java-config -p junit)
- echo collections.jar=$(java-config -p commons-collections)
- echo primitives.jar=$(java-config -p commons-primitives)
- echo logging.jar=$(java-config -p commons-logging)
- echo codec.jar=$(java-config -p commons-codec)
- echo logging-impl.jar=$(java-config -p log4j)
- echo regexp.jar=$(java-config -p regexp)
- echo javacc.home=/usr/share/javacc/lib
- ) > build.properties
- mkdir lib test
- # Given the state of brokenness in this build system, we will
- # need to do this for all the jars it depends on.
+ mkdir lib test
(
cd lib
- for x in $(java-config -p commons-primitives | tr -d :) ; do
- ln -s ${x} .
- done
+ java-pkg_jar-from junit || die junit
+ java-pkg_jar-from commons-collections || die commons-collections
+ java-pkg_jar-from commons-primitives || die commons-primitives
+ java-pkg_jar-from commons-logging || die commons-logging
+ java-pkg_jar-from commons-codec || die commons-codec
+ java-pkg_jar-from log4j || die log4j
+ java-pkg_jar-from regexp || die regexp
)
+
+ echo javacc.home=/usr/share/javacc/lib \
+ > build.properties
}
src_compile() {