Permalink
Browse files

add jzmq

  • Loading branch information...
1 parent 6a5e347 commit 40e42113ff765ed34d61e9bd14fbd4b909e08c2c @roowe roowe committed Aug 17, 2012
Showing with 41 additions and 0 deletions.
  1. +41 −0 net-libs/jzmq/jzmq-9999.ebuild
View
41 net-libs/jzmq/jzmq-9999.ebuild
@@ -0,0 +1,41 @@
+EAPI=3
+WANT_AUTOCONF="2.5"
+inherit git-2 autotools
+
+DESCRIPTION="jzmq"
+HOMEPAGE="http://www.zeromq.org/bindings:java"
+
+if [[ ${PV} == "9999" ]] ; then
+ EGIT_REPO_URI="git://github.com/zeromq/jzmq.git"
+ vcs=git-2
+else
+ SRC_URI=""
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+RDEPEND=""
+DEPEND="net-libs/zeromq"
+
+src_prepare() {
+ eaclocal
+ eautoconf
+}
+
+src_configure() {
+ echo "configure"
+ PATH=/etc/java-config-2/current-system-vm/bin:$PATH
+ PKG_CONFIG=/usr/lib64/pkgconfig/
+ eautomake
+ econf
+ make
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc README ChangeLog || die "dodoc failed"
+}

0 comments on commit 40e4211

Please sign in to comment.