[jruby] 02/03: Install jni symlinks to native jffi library

Miguel Landaeta nomadium at moszumanska.debian.org
Sat May 30 04:43:04 UTC 2015


This is an automated email from the git hooks/post-receive script.

nomadium pushed a commit to branch experimental
in repository jruby.

commit 70a82c1ce8d952cca29764d9695e5c283c9ff521
Author: Miguel Landaeta <nomadium at debian.org>
Date:   Fri May 29 22:07:11 2015 -0300

    Install jni symlinks to native jffi library
---
 debian/changelog     | 2 +-
 debian/jruby.install | 1 +
 debian/jruby.links   | 4 ++++
 debian/rules         | 3 +++
 4 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 71fd34c..1603d4f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -50,7 +50,7 @@ jruby (1.7.19-1) UNRELEASED; urgency=medium
     minified copy. This is to avoid lintian warnings, during build time
     a link symbolic to libjs-jquery is deployed.
 
- -- Miguel Landaeta <nomadium at debian.org>  Fri, 29 May 2015 21:13:30 -0300
+ -- Miguel Landaeta <nomadium at debian.org>  Fri, 29 May 2015 22:06:24 -0300
 
 jruby (1.5.6-10) unstable; urgency=medium
 
diff --git a/debian/jruby.install b/debian/jruby.install
index 1ab059b..e5b4909 100644
--- a/debian/jruby.install
+++ b/debian/jruby.install
@@ -9,3 +9,4 @@ target/package/bin/rdoc        usr/share/jruby/bin
 target/package/bin/ri          usr/share/jruby/bin
 target/package/bin/testrb      usr/share/jruby/bin
 target/package/lib/ruby        usr/share/jruby/lib
+target/package/lib/jni         usr/share/jruby/lib
diff --git a/debian/jruby.links b/debian/jruby.links
index ea45c2e..5d55cf5 100644
--- a/debian/jruby.links
+++ b/debian/jruby.links
@@ -16,3 +16,7 @@ usr/share/jruby/bin/jirb               usr/bin/jirb
 usr/share/jruby/bin/jirb_swing         usr/bin/jirb_swing
 usr/share/jruby/bin/jruby              usr/bin/jruby
 usr/share/jruby/bin/jrubyc             usr/bin/jrubyc
+
+usr/lib/i386-linux-gnu/jni/libjffi-1.2.so     usr/share/jruby/lib/jni/i386-Linux/libjffi-1.2.so
+usr/lib/x86_64-linux-gnu/jni/libjffi-1.2.so   usr/share/jruby/lib/jni/x86_64-Linux/libjffi-1.2.so
+usr/lib/arm-linux-gnueabi/jni/libjffi-1.2.so  usr/share/jruby/lib/jni/arm-Linux/libjffi-1.2.so
diff --git a/debian/rules b/debian/rules
index 2bb231d..7f9f2b5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -46,6 +46,9 @@ override_dh_auto_install:
 	cd target/package/lib/ruby/gems/shared/ && mkdir -p cache gems specifications
 	mh_installpom -pjruby --no-parent core/pom.xml
 	mh_installjar -pjruby --java-lib  core/pom.xml target/package/lib/jruby.jar
+	for platform in i386-Linux x86_64-Linux arm-Linux; do \
+		mkdir -p target/package/lib/jni/$$platform ; \
+	done
 
 override_dh_auto_test:
 ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/jruby.git



More information about the pkg-java-commits mailing list