[SM-Commit] GIT changes to master grimoire by Bor Kraljič (de1171de27d75aaf8eddf2fcdfd4ad31d338fb83)

Bor Kraljič scm at sourcemage.org
Mon Oct 11 07:32:21 EDT 2010


GIT changes to master grimoire by Bor Kraljič <pyrobor at ver.si>:

 disk/philesight/DETAILS   |    4 ++--
 disk/philesight/HISTORY   |    5 +++++
 disk/philesight/INSTALL   |   11 ++++++++---
 disk/philesight/PRE_BUILD |    3 ---
 4 files changed, 15 insertions(+), 8 deletions(-)

New commits:
commit de1171de27d75aaf8eddf2fcdfd4ad31d338fb83
Author: Bor Kraljič <pyrobor at ver.si>
Commit: Bor Kraljič <pyrobor at ver.si>

    philesight: updated spell to 20101004

diff --git a/disk/philesight/DETAILS b/disk/philesight/DETAILS
index f3e26f2..e783d05 100755
--- a/disk/philesight/DETAILS
+++ b/disk/philesight/DETAILS
@@ -1,10 +1,10 @@
            SPELL=philesight
-         VERSION=2273
+         VERSION=20101004
           SOURCE=$SPELL-$VERSION.tgz
 SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
         WEB_SITE=http://zevv.nl/play/code/philesight/
    SOURCE_URL[0]=http://zevv.nl/play/code/philesight/$SOURCE
-     SOURCE_HASH=sha512:45a4f652829c1c7d4679b5e884d9b5ee8d53f558c583b5fcf70a2fb0da7a9a65723a37398c2d581810b82b5fe4408308140f0b0393c1b0d55e597b101d3a3c44
+     SOURCE_HASH=sha512:3f0d042cf9da14214d7e94c4fd1f024359c96c63d7ae7857269e6b41fc7e3ae51dac4595c80ffb4ec907abc0af54eb416f3e2ef358a418a91d6c60cfafee6c1c
       LICENSE[0]=GPL
          ENTERED=20080712
         KEYWORDS="disk"
diff --git a/disk/philesight/HISTORY b/disk/philesight/HISTORY
index fae160e..339d909 100644
--- a/disk/philesight/HISTORY
+++ b/disk/philesight/HISTORY
@@ -1,3 +1,8 @@
+2010-10-11 Bor Kraljič <pyrobor at ver.si>
+	* DETAILS: updated spell to 20101004
+	* PRE_BUILD: removed, no longer needed
+	* INSTALL: there is no ruby spell anymore
+
 2010-02-25 Remko van der Vossen <wich at sourcemage.org>
 	* DEPENDS: updated ruby dependency to RUBY provider
 
diff --git a/disk/philesight/INSTALL b/disk/philesight/INSTALL
index 0d5430b..4d8061f 100755
--- a/disk/philesight/INSTALL
+++ b/disk/philesight/INSTALL
@@ -1,6 +1,11 @@
-RUBY_VER=$(installed_version ruby) &&
-install -dm 755 $INSTALL_ROOT/usr/lib/ruby/site_ruby/${RUBY_VER:0:3}/ &&
-install -m 644 philesight.rb $INSTALL_ROOT/usr/lib/ruby/site_ruby/${RUBY_VER:0:3}/philesight.rb &&
+if $(spell_ok ruby-1.8); then
+  RUBY_MAIN_VER=1.8
+elif $(spell_ok ruby-1.9);then
+  RUBY_MAIN_VER=1.9
+fi &&
+#RUBY_VER=$(installed_version ruby) &&
+install -dm 755 $INSTALL_ROOT/usr/lib/ruby/site_ruby/${RUBY_MAIN_VER}/ &&
+install -m 644 philesight.rb $INSTALL_ROOT/usr/lib/ruby/site_ruby/${RUBY_MAIN_VER}/philesight.rb &&
 install -dm 755 $INSTALL_ROOT/usr/bin &&
 install -m 755 philesight $INSTALL_ROOT/usr/bin/philesight &&
 install -dm 755 $INSTALL_ROOT/usr/share/www/philesight &&
diff --git a/disk/philesight/PRE_BUILD b/disk/philesight/PRE_BUILD
deleted file mode 100755
index 2357eb9..0000000
--- a/disk/philesight/PRE_BUILD
+++ /dev/null
@@ -1,3 +0,0 @@
-mk_source_dir &&
-cd $SOURCE_DIRECTORY &&
-unpack_file



More information about the SM-Commit mailing list