From c742af866ec493cfc6265dbcbef473a17663e1a8 Mon Sep 17 00:00:00 2001 From: Juergen Daubert Date: Fri, 28 Aug 2009 13:21:49 +0200 Subject: [PATCH] eruby: dropped --- eruby/.footprint | 16 ------ eruby/.md5sum | 2 - eruby/Pkgfile | 19 ------- eruby/eruby-1.0.5.patch | 117 ---------------------------------------- 4 files changed, 154 deletions(-) delete mode 100644 eruby/.footprint delete mode 100644 eruby/.md5sum delete mode 100644 eruby/Pkgfile delete mode 100644 eruby/eruby-1.0.5.patch diff --git a/eruby/.footprint b/eruby/.footprint deleted file mode 100644 index 2327ce858..000000000 --- a/eruby/.footprint +++ /dev/null @@ -1,16 +0,0 @@ -drwxr-xr-x root/root usr/ -drwxr-xr-x root/root usr/bin/ --rwxr-xr-x root/root usr/bin/eruby -drwxr-xr-x root/root usr/include/ --rw-r--r-- root/root usr/include/eruby.h -drwxr-xr-x root/root usr/lib/ --rw-r--r-- root/root usr/lib/liberuby.a -lrwxrwxrwx root/root usr/lib/liberuby.so -> liberuby.so.1.0.5 --rw-r--r-- root/root usr/lib/liberuby.so.1.0.5 -drwxr-xr-x root/root usr/lib/ruby/ -drwxr-xr-x root/root usr/lib/ruby/1.8/ -drwxr-xr-x root/root usr/lib/ruby/1.8/linux/ --r-xr-xr-x root/root usr/lib/ruby/1.8/linux/eruby.so -drwxr-xr-x root/root usr/man/ -drwxr-xr-x root/root usr/man/man1/ --rw-r--r-- root/root usr/man/man1/eruby.1.gz diff --git a/eruby/.md5sum b/eruby/.md5sum deleted file mode 100644 index 05c1d2b88..000000000 --- a/eruby/.md5sum +++ /dev/null @@ -1,2 +0,0 @@ -4b1a5becee310f6bf03d8e2e6e868b48 eruby-1.0.5.patch -af294fe34dc6cf24228aec95167b3099 eruby-1.0.5.tar.gz diff --git a/eruby/Pkgfile b/eruby/Pkgfile deleted file mode 100644 index e4ab72549..000000000 --- a/eruby/Pkgfile +++ /dev/null @@ -1,19 +0,0 @@ -# Maintainer: Juergen Daubert, juergen dot daubert at t-online dot de -# Description: Allows you to embed Ruby code into HTML files -# URL: http://modruby.net/ -# Depends on: ruby - -name=eruby -version=1.0.5 -release=2 -source=(http://modruby.net/archive/$name-$version.tar.gz \ - $name-$version.patch) - -build() { - cd $name-$version - patch -p0 -i $SRC/$name-$version.patch - #sed -i 's|/-linux/|/linux/|g' configure.rb - ./configure.rb --prefix=/usr --enable-shared - make - make DESTDIR=$PKG install -} diff --git a/eruby/eruby-1.0.5.patch b/eruby/eruby-1.0.5.patch deleted file mode 100644 index a4d64b59b..000000000 --- a/eruby/eruby-1.0.5.patch +++ /dev/null @@ -1,117 +0,0 @@ -Index: configure.rb -=================================================================== ---- configure.rb (revision 140) -+++ configure.rb (working copy) -@@ -59,21 +59,24 @@ - end - end - --require 'ftools' -+require 'fileutils' - - def AC_OUTPUT(*files) -+ $DEFS ||= "" - if $AC_LIST_HEADER -- $DEFS = "-DHAVE_CONFIG_H" -+ $DEFS << " -DHAVE_CONFIG_H" - AC_OUTPUT_HEADER($AC_LIST_HEADER) - else -- $DEFS = $ac_confdefs.collect {|k, v| "-D#{k}=#{v}" }.join(" ") -+ $DEFS << " " + $ac_confdefs.collect {|k, v| "-D#{k}=#{v}" }.join(" ") - end - for file in files - print "creating ", file, "\n" - open(File.join($srcdir, file + ".in")) do |fin| -- File.makedirs(File.dirname(file)) -+ FileUtils.mkdir_p(File.dirname(file)) - open(file, "w") do |fout| -+ depend = false - while line = fin.gets -+ depend = true if /^\#\#\# depend/ =~ line - line.gsub!(/@([A-Za-z_]+)@/) do |s| - name = $1 - if $ac_sed.key?(name) -@@ -82,6 +85,7 @@ - s - end - end -+ line.gsub!(/(\s)([^\s\/]+\.[ch])/, '\1{$(srcdir)}\2') if depend && $nmake - fout.print(line) - end - end -@@ -153,13 +157,18 @@ - file = File.join(dir, prog) - if File.file?(file); then - $ac_aux_dir = dir -- $ac_install_rb = "#{file} -c" -+ $ac_install_rb = "$(RUBY) #{file} -c" - return - end - end - end - end - -+begin -+ require "continuation" -+rescue LoadError -+end -+ - def AC_PROG_INSTALL - AC_MSG_CHECKING("for a BSD compatible install") - $ac_cv_path_install = callcc { |c| -@@ -291,6 +300,13 @@ - $AR = CONFIG["AR"] - $LD = "$(CC)" - $RANLIB = CONFIG["RANLIB"] -+$ruby = arg_config("--ruby", File.join(Config::CONFIG["bindir"], CONFIG["ruby_install_name"])) -+$RUBY = ($nmake && !$configure_args.has_key?('--ruby')) ? $ruby.gsub(%r'/', '\\') : $ruby -+if RUBY_VERSION < "1.8.0" -+ $RM = 'rm -f' -+else -+ $RM = CONFIG["RM"] || '$(RUBY) -run -e rm -- -f' -+end - - if not defined? CFLAGS - CFLAGS = CONFIG["CFLAGS"] -@@ -306,7 +322,7 @@ - $LDFLAGS = "-link -incremental:no -pdb:none" - end - $LIBS = CONFIG["LIBS"] --$XLDFLAGS = CONFIG["XLDFLAGS"] -+$XLDFLAGS = CONFIG["XLDFLAGS"].to_s - $XLDFLAGS.gsub!(/-L\./, "") - if /mswin32/ !~ RUBY_PLATFORM - $XLDFLAGS += " -L$(libdir)" -@@ -349,6 +365,14 @@ - end - end - -+$COMPILE_RULES = '' -+if defined?(COMPILE_RULES) -+ COMPILE_RULES.each do |rule| -+ $COMPILE_RULES << sprintf(rule, 'c', $OBJEXT) -+ $COMPILE_RULES << sprintf("\n\t%s\n\n", COMPILE_C) -+ end -+end -+ - AC_SUBST("srcdir") - AC_SUBST("topdir") - AC_SUBST("hdrdir") -@@ -375,6 +399,8 @@ - AC_SUBST("AR") - AC_SUBST("LD") - AC_SUBST("RANLIB") -+AC_SUBST("RUBY") -+AC_SUBST("RM") - - AC_SUBST("CFLAGS") - AC_SUBST("DEFS") -@@ -388,6 +414,8 @@ - AC_SUBST("EXEEXT") - AC_SUBST("DLEXT") - -+AC_SUBST("COMPILE_RULES") -+ - AC_SUBST("RUBY_INSTALL_NAME") - AC_SUBST("LIBRUBYARG") - AC_SUBST("LIBRUBYARG_SHARED")