summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-08-18 16:37:53 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2011-08-18 16:37:53 +0200
commitf7956dcac1ddfa2636a97527f9689606b205262b (patch)
tree29cdc10a5228a17149baa0adc85ff51bedb11162
parenta3745c76aad58dc830d89098fa43026935f12e73 (diff)
downloadffi-efl-f7956dcac1ddfa2636a97527f9689606b205262b.zip
ffi-efl-f7956dcac1ddfa2636a97527f9689606b205262b.tar.gz
add Efl::PACKAGE_xxx_DIR constants
-rw-r--r--lib/efl.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/efl.rb b/lib/efl.rb
index 4543a33..d6e948f 100644
--- a/lib/efl.rb
+++ b/lib/efl.rb
@@ -6,6 +6,10 @@ module Efl
#
VERSION = '0.0.7'
#
+ PACKAGE_BIN_DIR = File.join `pkg-config --variable=exec_prefix ecore`, 'bin'
+ PACKAGE_LIB_DIR = File.join `pkg-config --variable=exec_prefix ecore`, 'lib'
+ PACKAGE_DATA_DIR = File.join `pkg-config --variable=exec_prefix ecore`, 'share'
+ #
autoload :EcoreEvas, './lib/efl/ecore_evas.rb'
autoload :EcoreGetopt, './lib/efl/ecore_getopt.rb'
autoload :EcoreInput, './lib/efl/ecore_input.rb'