diff options
author | Paul Healy <lmiphay@gmail.com> | 2016-08-15 19:49:04 +0100 |
---|---|---|
committer | Paul Healy <lmiphay@gmail.com> | 2016-08-15 19:49:04 +0100 |
commit | 1af067246909ad3609b7e4c3a641dde449085a1b (patch) | |
tree | 602fa0fd0d608ed5aa3662bc6420e4650b38df6d | |
parent | backout the un-needed patch to the desktop file (diff) | |
download | lmiphay-1af067246909ad3609b7e4c3a641dde449085a1b.tar.gz lmiphay-1af067246909ad3609b7e4c3a641dde449085a1b.tar.bz2 lmiphay-1af067246909ad3609b7e4c3a641dde449085a1b.zip |
compile current head
-rw-r--r-- | dev-libs/flatbuffers/flatbuffers-9999.ebuild | 28 |
1 files changed, 8 insertions, 20 deletions
diff --git a/dev-libs/flatbuffers/flatbuffers-9999.ebuild b/dev-libs/flatbuffers/flatbuffers-9999.ebuild index b0de065..4a4aeeb 100644 --- a/dev-libs/flatbuffers/flatbuffers-9999.ebuild +++ b/dev-libs/flatbuffers/flatbuffers-9999.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ -EAPI=5 +EAPI=6 DISTUTILS_OPTIONAL=1 -PYTHON_COMPAT=(python{2_7,3_{3,4}}) +PYTHON_COMPAT=(python{2_7,3_4}) inherit eutils distutils-r1 git-r3 DESCRIPTION="Memory Efficient Serialization Library" @@ -28,26 +28,14 @@ DEPEND=" ${RDEPEND} " -# fixme -# repo=$T/mvnrepository -repo=/var/cache/maven - -pkg_pretend() -{ - if use java ; then - [ -d $repo ] || die "please 'mkdir -p $repo' owner portage:portage and try again" - owner=$(stat -c %U:%G $repo) - [ "$owner" = "portage:portage" ] || die "please 'chown portage:portage $repo' and try again" - fi -} - src_compile() { cmake -G "Unix Makefiles" emake if use java ; then - addwrite $repo - cd java && mvn -Dmaven.repo.local=$repo package + (cd java && \ + javac com/google/flatbuffers/*.java && \ + jar cf flatbuffers.jar com/google/flatbuffers/*.class) fi } @@ -58,7 +46,7 @@ src_install() { doins -r include/flatbuffers if use doc ; then - dohtml -r docs + dodoc -r docs fi if use examples ; then @@ -67,7 +55,7 @@ src_install() { if use java ; then insinto /usr/share/${PN} - doins java/target/flatbuffers*.jar + doins java/flatbuffers.jar fi if use python ; then |