net-libs/jzmq - 9999 (gentoo-zh)

Search

Install

Install this version:

emerge -a =net-libs/jzmq-9999

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =net-libs/jzmq-9999

Or alternatively:

emerge --autounmask-write -a =net-libs/jzmq-9999

Package Information

Description:
Java bindings for ZeroMQ
Homepage:
https://zeromq.org/languages/java/
License:
LGPL-3

Ebuild Details

Version EAPI Keywords Slot
9999 7 0
View Raw Ebuild
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit git-r3 autotools
DESCRIPTION="Java bindings for ZeroMQ"
HOMEPAGE="https://zeromq.org/languages/java/"

if [[ ${PV} == "9999" ]] ; then
	EGIT_REPO_URI="https://github.com/zeromq/jzmq.git"
	vcs=git-r3
fi
S="${WORKDIR}/${P}/${PN}-jni"

LICENSE="LGPL-3"
SLOT="0"

DEPEND="net-libs/zeromq
	>=virtual/jre-1.7:*"
RDEPEND="${DEPEND}"

src_prepare() {
	default
	if [[ -e configure.in ]]; then
		mv configure.in configure.ac || die
	fi
	eautoreconf
}

src_configure() {
	PATH=/etc/java-config-2/current-system-vm/bin:$PATH
	PKG_CONFIG=/usr/lib64/pkgconfig/
	econf
}

src_install() {
	emake DESTDIR="${D}" install || die "emake install failed"
	rm -f "${ED}"/usr/share/doc/${PF}/{README,ChangeLog} || die
	dodoc ../README.md ../Changelog.md || die "dodoc failed"
}

Inherited Eclasses

Dependencies

DEPEND

net-libs/zeromq
	>=virtual/jre-1.7:*

RDEPEND

net-libs/zeromq
	>=virtual/jre-1.7:*