summaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-10-25 15:29:32 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-10-25 15:29:32 +0000
commit4d9a6ab181225f091ebcdf6b8ddb9b2bc75260fd (patch)
tree1f9ecc467c8b4db158fc292c3a4cf3cd4a7d9ea0 /template
parenta6ed06e51306ffe7311640040dade563419cb953 (diff)
* Makefile.in (pkgconfig-data): create pkg-config metadata file.
* tool/rbinstall.rb: install pkg-config metadata file. * template/ruby.pc.in: template of pkg-config metadata file. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'template')
-rw-r--r--template/ruby.pc.in30
1 files changed, 30 insertions, 0 deletions
diff --git a/template/ruby.pc.in b/template/ruby.pc.in
new file mode 100644
index 0000000..b7255ba
--- /dev/null
+++ b/template/ruby.pc.in
@@ -0,0 +1,30 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+bindir=@bindir@
+libdir=@libdir@
+includedir=@includedir@
+MAJOR=@MAJOR@
+MINOR=@MINOR@
+TEENY=@TEENY@
+ruby_version=@ruby_version@
+RUBY_PROGRAM_VERSION=@RUBY_PROGRAM_VERSION@
+RUBY_BASE_NAME=@RUBY_BASE_NAME@
+RUBY_SO_NAME=@RUBY_SO_NAME@
+RUBY_INSTALL_NAME=@RUBY_INSTALL_NAME@
+LIBRUBYARG_SHARED=@LIBRUBYARG_SHARED@
+LIBRUBYARG_STATIC=@LIBRUBYARG_STATIC@
+LIBRUBYARG=@LIBRUBYARG@
+LIBS=@LIBS@
+ruby=${bindir}/${RUBY_INSTALL_NAME}@EXEEXT@
+rubyhdrdir=@rubyhdrdir@
+vendorhdrdir=@vendorhdrdir@
+sitehdrdir=@sitehdrdir@
+arch=@arch@
+sitearch=@sitearch@
+
+Name: Ruby
+Description: Object Oriented Script Language
+Version: ${ruby_version}
+Cflags: -I${rubyhdrdir}/${arch} -I${rubyhdrdir}
+Libs: ${LIBRUBYARG_SHARED} ${LIBS}
+Requires: