summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGunnar Wrobel <wrobel@gentoo.org>2005-04-04 19:38:23 +0000
committerGunnar Wrobel <wrobel@gentoo.org>2005-04-04 19:38:23 +0000
commit5f2fe9435e2e4156aff6d44fd6a06fd4c38108b7 (patch)
tree538c28010e946380005eb6b10e8c10b8053cde59 /dev-java/fuse-j/fuse-j-1.4.ebuild
parentStarting on fuse-j ebuild (diff)
downloadoverlay-5f2fe9435e2e4156aff6d44fd6a06fd4c38108b7.tar.gz
overlay-5f2fe9435e2e4156aff6d44fd6a06fd4c38108b7.tar.bz2
overlay-5f2fe9435e2e4156aff6d44fd6a06fd4c38108b7.zip
Added the fuse-j ebuild
svn path=/; revision=101
Diffstat (limited to 'dev-java/fuse-j/fuse-j-1.4.ebuild')
-rw-r--r--dev-java/fuse-j/fuse-j-1.4.ebuild21
1 files changed, 15 insertions, 6 deletions
diff --git a/dev-java/fuse-j/fuse-j-1.4.ebuild b/dev-java/fuse-j/fuse-j-1.4.ebuild
index 79f01b9..08e99d4 100644
--- a/dev-java/fuse-j/fuse-j-1.4.ebuild
+++ b/dev-java/fuse-j/fuse-j-1.4.ebuild
@@ -21,6 +21,8 @@ RDEPEND=">=virtual/jre-1.4
sys-fs/fuse
"
+S=${WORKDIR}/${PN}
+
src_unpack() {
unpack ${A}
@@ -31,16 +33,23 @@ src_unpack() {
}
src_compile() {
+
cd ${S}
- local FUSE_HOME="/usr"
+ export FUSE_HOME="/usr"
+
+ make
- use doc && antflags="${antflags} javadoc"
- use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
- ant ${antflags} || die "ant failed"
}
src_install() {
- java-pkg_dojar dist/${PN}.jar
- use doc && java-pkg_dohtml -r build/doc/javadoc/*
+
+ dolib.so jni/libjavafs.so
+
+ cd build
+
+ jar cf fuse-j.jar `find fuse -name *.class`
+
+ java-pkg_dojar fuse-j.jar
+
}