Created
July 4, 2012 06:16
-
-
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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