mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-17 12:20:59 +02:00
rjb: <bapa> Also, remove my old crappy ebuild from the Pentoo overlay :)
This commit is contained in:
parent
eafda929de
commit
42d3e6e0ff
2 changed files with 0 additions and 49 deletions
|
|
@ -1,5 +1,4 @@
|
|||
DIST rjb-1.3.4.gem 61440 RMD160 ce0a37cf50508e51e41a9a04260dcab955f97683 SHA1 801c69f2d2c4a638acfa06342a6ded4af2e2ffab SHA256 f756a152130a2ac28e7d50d8dbbf766e03df635b6a513e31de3f2850f0d5abc5
|
||||
EBUILD rjb-1.3.4-r1.ebuild 881 RMD160 465b83616eca09163d0f3cfc2546e21c15e0a852 SHA1 5fefe7647461c4f57a684c0c5f3a60994209fad7 SHA256 7ce6eb5295387070dc0ff072144f7bd3f1f3b084b4277baa02676ec6b88bfbc4
|
||||
EBUILD rjb-1.3.4.ebuild 1205 RMD160 870bcb067db1a243f8541ba6c151cf8e72910ef5 SHA1 60b381247a2831329ec1dacb7fa75dd12e8a3851 SHA256 302f770f4efe3d4446ad11a171ae7152efae19a091b9c970540f14f54f80036e
|
||||
MISC Changelog 289 RMD160 a760747cdd9dfe598517268ec76cc9f4aead2495 SHA1 5811c0f160ef3cb1db7b7d754767c61b075f03ba SHA256 1e05553cd13b2ad0e935a11df155e989fffa4fdedaaa78140eaaec3e451bc2df
|
||||
MISC metadata.xml 221 RMD160 52dde43b09fd52c7fca2d101da4536746167b29f SHA1 ce96a105913fc721fb928a0d8216b11fa387b869 SHA256 d114187ee5bb84d05e5d0654deb9148f2b4100c127266eca82b49ba011941616
|
||||
|
|
|
|||
|
|
@ -1,48 +0,0 @@
|
|||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=2
|
||||
|
||||
USE_RUBY="ruby18 ruby19"
|
||||
RUBY_FAKEGEM_EXTRADOC="readme.txt readme.sj ChangeLog"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Rjb is a Ruby-Java bridge"
|
||||
HOMEPAGE="http://rjb.rubyforge.org/"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm x86"
|
||||
IUSE=""
|
||||
|
||||
each_ruby_configure() {
|
||||
export JAVA_HOME=/etc/java-config-2/current-system-vm # <-- HACK !
|
||||
${RUBY} -C ext extconf.rb || die "extconf.rb failed"
|
||||
}
|
||||
|
||||
each_ruby_compile() {
|
||||
cd ext
|
||||
emake CFLAGS="${CFLAGS} -fPIC" archflags="${LDFLAGS}" || die "emake failed"
|
||||
}
|
||||
|
||||
each_ruby_install() {
|
||||
each_fakegem_install
|
||||
|
||||
local dest="${D}/$(ruby_fakegem_gemsdir)/gems/${P}"
|
||||
|
||||
# Untar the "data" tarball
|
||||
tar -mxf ../data.tar.gz -C "${dest}" || die "untarring failed"
|
||||
|
||||
# Copy compiled extension into lib dir
|
||||
cp ext/*.so "${dest}"/lib || die "copying lib failed"
|
||||
|
||||
# Copy everyting from ext, just in case
|
||||
cp -r ext "${dest}" || die "copying ext failed"
|
||||
|
||||
# ...but remove some junk we know we won't need
|
||||
cd "${dest}"
|
||||
rm -f ext/*.o ext/mkmf.log > /dev/null 2>&1
|
||||
rm -f ${RUBY_FAKEGEM_EXTRADOC} COPYING > /dev/null 2>&1 # already in /usr/share/doc
|
||||
}
|
||||
Loading…
Reference in a new issue