Browse Source

package: reworked rubygems to not use custmain and export GEM_HOME while building

cross
Nagy Karoly Gabriel 16 years ago
parent
commit
67897d45d5
  1. 15
      ruby/rubygems/rubygems.conf

15
ruby/rubygems/rubygems.conf

@ -2,6 +2,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../rubygems/rubygems.conf
# Copyright (C) 2009 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
@ -11,4 +12,16 @@
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END ---
custmain="ruby setup.rb"
configscript=
makeopt=
makeinstopt=
rubygems_install(){
export GEM_HOME="$root$libdir/ruby/gems/1.8"
ruby setup.rb
}
hook_add postmake 5 "rubygems_install"

Loading…
Cancel
Save