Skip to content

Instantly share code, notes, and snippets.

@ujihisa
Created July 4, 2012 06:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ujihisa/3045682 to your computer and use it in GitHub Desktop.
Save ujihisa/3045682 to your computer and use it in GitHub Desktop.
Gentoo ebuild package for jzmq. the code is the dirtiest ever, but works.
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"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment