mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-19 21:31:10 +02:00
rjb: version bump (and I hate you)
This commit is contained in:
parent
f2875364b6
commit
e94fcd258f
2 changed files with 63 additions and 0 deletions
|
|
@ -1,7 +1,9 @@
|
|||
DIST rjb-1.3.4.gem 61440 RMD160 ce0a37cf50508e51e41a9a04260dcab955f97683 SHA1 801c69f2d2c4a638acfa06342a6ded4af2e2ffab SHA256 f756a152130a2ac28e7d50d8dbbf766e03df635b6a513e31de3f2850f0d5abc5
|
||||
DIST rjb-1.3.5.gem 64512 RMD160 517e3d52e3b294aaef8d33d481d6bbe61e82884c SHA1 e4fc1e55db55f5846af39cc9c073dbc7d013d601 SHA256 00fd597a1f22cb58f81b699eb6489b88d943c228027a7cb113ad5c9c20450749
|
||||
DIST rjb-1.3.8.gem 64512 RMD160 a9e8611d821fcaf48c881d0390cbf6fe812c3beb SHA1 d8a6ebe4af736d95c43acf068ddb4bd5c2d2f4ee SHA256 99f39cbd9c4610b66be67ef126bd8e312377e5b1516e7302db9f379fe01f8c33
|
||||
EBUILD rjb-1.3.4-r3.ebuild 1130 RMD160 0eab935ff1c87e634bdd01933f001dcac141c487 SHA1 c27a172d0bb9f34005c90298978950ac42a7c54a SHA256 afcca185a9c47902ec1a92bf1f9346ed3887c874898d645f73eeada6185e9acb
|
||||
EBUILD rjb-1.3.4-r4.ebuild 1364 RMD160 e2a70865a03b75d3715682165583faa44ac27716 SHA1 e1a375504e3646d0a318901cfe690abda5d238a1 SHA256 dbb03887571265789ba92ecd9cd418d4ea0b37f3599eba802b13960632db5964
|
||||
EBUILD rjb-1.3.5.ebuild 1445 RMD160 05f06d8cb8bc561a619e982e9dae249098aec516 SHA1 0d6d0cfa707026147f02ef465d6b7ed99b815c1e SHA256 99b54eb7a26eba04291be51f07827997198e5cdd1e21f0bf1eceb6d65ae2bec6
|
||||
EBUILD rjb-1.3.8.ebuild 1445 RMD160 05f06d8cb8bc561a619e982e9dae249098aec516 SHA1 0d6d0cfa707026147f02ef465d6b7ed99b815c1e SHA256 99b54eb7a26eba04291be51f07827997198e5cdd1e21f0bf1eceb6d65ae2bec6
|
||||
MISC Changelog 289 RMD160 a760747cdd9dfe598517268ec76cc9f4aead2495 SHA1 5811c0f160ef3cb1db7b7d754767c61b075f03ba SHA256 1e05553cd13b2ad0e935a11df155e989fffa4fdedaaa78140eaaec3e451bc2df
|
||||
MISC metadata.xml 221 RMD160 52dde43b09fd52c7fca2d101da4536746167b29f SHA1 ce96a105913fc721fb928a0d8216b11fa387b869 SHA256 d114187ee5bb84d05e5d0654deb9148f2b4100c127266eca82b49ba011941616
|
||||
|
|
|
|||
61
dev-ruby/rjb/rjb-1.3.8.ebuild
Normal file
61
dev-ruby/rjb/rjb-1.3.8.ebuild
Normal file
|
|
@ -0,0 +1,61 @@
|
|||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=3
|
||||
|
||||
USE_RUBY="ruby18 ruby19"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="readme.txt ChangeLog"
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_TASK_TEST=""
|
||||
|
||||
inherit java-pkg-2 ruby-ng ruby-fakegem
|
||||
|
||||
DESCRIPTION="Rjb is a Ruby-Java software bridge"
|
||||
HOMEPAGE="http://rjb.rubyforge.org/"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="examples hardened"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.5
|
||||
hardened? ( sys-apps/paxctl )"
|
||||
RDEPEND="virtual/jre"
|
||||
|
||||
pkg_setup() {
|
||||
ruby-ng_pkg_setup
|
||||
java-pkg-2_pkg_setup
|
||||
}
|
||||
|
||||
each_ruby_prepare() {
|
||||
#dev-lang/ruby might need the "hardened" flag to inforce the following:
|
||||
if use hardened; then
|
||||
paxctl -v /usr/bin/ruby 2>/dev/null | grep MPROTECT | grep disabled || die '!!! rjb will only work if ruby is MPROTECT disabled\n please disable it with paxctl -m /usr/bin/ruby'
|
||||
fi
|
||||
# force compilation of class file for our JVM
|
||||
rm -rf data
|
||||
}
|
||||
|
||||
each_ruby_configure() {
|
||||
${RUBY} -C ext extconf.rb || die "extconf.rb failed"
|
||||
}
|
||||
|
||||
each_ruby_compile() {
|
||||
emake -C ext CFLAGS="${CFLAGS} -fPIC" archflags="${LDFLAGS}" || die "emake failed"
|
||||
}
|
||||
|
||||
each_ruby_install() {
|
||||
each_fakegem_install
|
||||
|
||||
# currently no elegant way to do this (bug #352765)
|
||||
ruby_fakegem_newins ext/rjbcore.so lib/rjbcore.so
|
||||
|
||||
ruby_fakegem_doins -r data
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r samples || die "installing samples failed"
|
||||
fi
|
||||
}
|
||||
Loading…
Reference in a new issue