From 987d45e99a299c3b24418b2976e8ec9d5f3bf404 Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Wed, 16 Mar 2011 00:48:27 -0500 Subject: ruby/*: Moved all (or at least most) Ruby stuff to here Signed-off-by: Robby Workman --- libraries/ruby-gtk2/README | 8 -- libraries/ruby-gtk2/ruby-gtk2.SlackBuild | 56 --------- libraries/ruby-gtk2/ruby-gtk2.info | 10 -- libraries/ruby-gtk2/slack-desc | 19 --- libraries/rubygem-gettext/README | 4 - .../rubygem-gettext/rubygem-gettext.SlackBuild | 99 --------------- libraries/rubygem-gettext/rubygem-gettext.info | 10 -- libraries/rubygem-gettext/slack-desc | 19 --- libraries/rubygem-highline/README | 7 -- .../rubygem-highline/rubygem-highline.SlackBuild | 99 --------------- libraries/rubygem-highline/rubygem-highline.info | 10 -- libraries/rubygem-highline/slack-desc | 19 --- libraries/rubygem-locale/README | 2 - libraries/rubygem-locale/rubygem-locale.SlackBuild | 99 --------------- libraries/rubygem-locale/rubygem-locale.info | 10 -- libraries/rubygem-locale/slack-desc | 19 --- libraries/rubygem-lockfile/README | 1 - .../rubygem-lockfile/rubygem-lockfile.SlackBuild | 99 --------------- libraries/rubygem-lockfile/rubygem-lockfile.info | 10 -- libraries/rubygem-lockfile/slack-desc | 19 --- libraries/rubygem-mime-types/README | 3 - .../rubygem-mime-types.SlackBuild | 99 --------------- .../rubygem-mime-types/rubygem-mime-types.info | 10 -- libraries/rubygem-mime-types/slack-desc | 19 --- libraries/rubygem-ncursesw/README | 3 - .../rubygem-ncursesw/rubygem-ncursesw.SlackBuild | 99 --------------- libraries/rubygem-ncursesw/rubygem-ncursesw.info | 10 -- libraries/rubygem-ncursesw/slack-desc | 19 --- libraries/rubygem-net-ssh/README | 1 - .../rubygem-net-ssh/rubygem-net-ssh.SlackBuild | 99 --------------- libraries/rubygem-net-ssh/rubygem-net-ssh.info | 10 -- libraries/rubygem-net-ssh/slack-desc | 19 --- libraries/rubygem-rmail/README | 3 - libraries/rubygem-rmail/rubygem-rmail.SlackBuild | 99 --------------- libraries/rubygem-rmail/rubygem-rmail.info | 10 -- libraries/rubygem-rmail/slack-desc | 19 --- libraries/rubygem-trollop/README | 5 - .../rubygem-trollop/rubygem-trollop.SlackBuild | 99 --------------- libraries/rubygem-trollop/rubygem-trollop.info | 10 -- libraries/rubygem-trollop/slack-desc | 19 --- libraries/rubygem-xapian-full/README | 2 - .../rubygem-xapian-full.SlackBuild | 135 --------------------- .../rubygem-xapian-full/rubygem-xapian-full.info | 10 -- libraries/rubygem-xapian-full/slack-desc | 19 --- network/rubygem-sup/README | 25 ---- network/rubygem-sup/rubygem-sup.SlackBuild | 101 --------------- network/rubygem-sup/rubygem-sup.info | 10 -- network/rubygem-sup/slack-desc | 19 --- ruby/ruby-gtk2/README | 8 ++ ruby/ruby-gtk2/ruby-gtk2.SlackBuild | 56 +++++++++ ruby/ruby-gtk2/ruby-gtk2.info | 10 ++ ruby/ruby-gtk2/slack-desc | 19 +++ ruby/rubygem-gettext/README | 4 + ruby/rubygem-gettext/rubygem-gettext.SlackBuild | 99 +++++++++++++++ ruby/rubygem-gettext/rubygem-gettext.info | 10 ++ ruby/rubygem-gettext/slack-desc | 19 +++ ruby/rubygem-highline/README | 7 ++ ruby/rubygem-highline/rubygem-highline.SlackBuild | 99 +++++++++++++++ ruby/rubygem-highline/rubygem-highline.info | 10 ++ ruby/rubygem-highline/slack-desc | 19 +++ ruby/rubygem-locale/README | 2 + ruby/rubygem-locale/rubygem-locale.SlackBuild | 99 +++++++++++++++ ruby/rubygem-locale/rubygem-locale.info | 10 ++ ruby/rubygem-locale/slack-desc | 19 +++ ruby/rubygem-lockfile/README | 1 + ruby/rubygem-lockfile/rubygem-lockfile.SlackBuild | 99 +++++++++++++++ ruby/rubygem-lockfile/rubygem-lockfile.info | 10 ++ ruby/rubygem-lockfile/slack-desc | 19 +++ ruby/rubygem-mime-types/README | 3 + .../rubygem-mime-types.SlackBuild | 99 +++++++++++++++ ruby/rubygem-mime-types/rubygem-mime-types.info | 10 ++ ruby/rubygem-mime-types/slack-desc | 19 +++ ruby/rubygem-ncursesw/README | 3 + ruby/rubygem-ncursesw/rubygem-ncursesw.SlackBuild | 99 +++++++++++++++ ruby/rubygem-ncursesw/rubygem-ncursesw.info | 10 ++ ruby/rubygem-ncursesw/slack-desc | 19 +++ ruby/rubygem-net-ssh/README | 1 + ruby/rubygem-net-ssh/rubygem-net-ssh.SlackBuild | 99 +++++++++++++++ ruby/rubygem-net-ssh/rubygem-net-ssh.info | 10 ++ ruby/rubygem-net-ssh/slack-desc | 19 +++ ruby/rubygem-rmail/README | 3 + ruby/rubygem-rmail/rubygem-rmail.SlackBuild | 99 +++++++++++++++ ruby/rubygem-rmail/rubygem-rmail.info | 10 ++ ruby/rubygem-rmail/slack-desc | 19 +++ ruby/rubygem-sup/README | 25 ++++ ruby/rubygem-sup/rubygem-sup.SlackBuild | 101 +++++++++++++++ ruby/rubygem-sup/rubygem-sup.info | 10 ++ ruby/rubygem-sup/slack-desc | 19 +++ ruby/rubygem-trollop/README | 5 + ruby/rubygem-trollop/rubygem-trollop.SlackBuild | 99 +++++++++++++++ ruby/rubygem-trollop/rubygem-trollop.info | 10 ++ ruby/rubygem-trollop/slack-desc | 19 +++ ruby/rubygem-xapian-full/README | 2 + .../rubygem-xapian-full.SlackBuild | 135 +++++++++++++++++++++ ruby/rubygem-xapian-full/rubygem-xapian-full.info | 10 ++ ruby/rubygem-xapian-full/slack-desc | 19 +++ 96 files changed, 1595 insertions(+), 1595 deletions(-) delete mode 100644 libraries/ruby-gtk2/README delete mode 100644 libraries/ruby-gtk2/ruby-gtk2.SlackBuild delete mode 100644 libraries/ruby-gtk2/ruby-gtk2.info delete mode 100644 libraries/ruby-gtk2/slack-desc delete mode 100644 libraries/rubygem-gettext/README delete mode 100644 libraries/rubygem-gettext/rubygem-gettext.SlackBuild delete mode 100644 libraries/rubygem-gettext/rubygem-gettext.info delete mode 100644 libraries/rubygem-gettext/slack-desc delete mode 100644 libraries/rubygem-highline/README delete mode 100644 libraries/rubygem-highline/rubygem-highline.SlackBuild delete mode 100644 libraries/rubygem-highline/rubygem-highline.info delete mode 100644 libraries/rubygem-highline/slack-desc delete mode 100644 libraries/rubygem-locale/README delete mode 100644 libraries/rubygem-locale/rubygem-locale.SlackBuild delete mode 100644 libraries/rubygem-locale/rubygem-locale.info delete mode 100644 libraries/rubygem-locale/slack-desc delete mode 100644 libraries/rubygem-lockfile/README delete mode 100644 libraries/rubygem-lockfile/rubygem-lockfile.SlackBuild delete mode 100644 libraries/rubygem-lockfile/rubygem-lockfile.info delete mode 100644 libraries/rubygem-lockfile/slack-desc delete mode 100644 libraries/rubygem-mime-types/README delete mode 100644 libraries/rubygem-mime-types/rubygem-mime-types.SlackBuild delete mode 100644 libraries/rubygem-mime-types/rubygem-mime-types.info delete mode 100644 libraries/rubygem-mime-types/slack-desc delete mode 100644 libraries/rubygem-ncursesw/README delete mode 100644 libraries/rubygem-ncursesw/rubygem-ncursesw.SlackBuild delete mode 100644 libraries/rubygem-ncursesw/rubygem-ncursesw.info delete mode 100644 libraries/rubygem-ncursesw/slack-desc delete mode 100644 libraries/rubygem-net-ssh/README delete mode 100644 libraries/rubygem-net-ssh/rubygem-net-ssh.SlackBuild delete mode 100644 libraries/rubygem-net-ssh/rubygem-net-ssh.info delete mode 100644 libraries/rubygem-net-ssh/slack-desc delete mode 100644 libraries/rubygem-rmail/README delete mode 100644 libraries/rubygem-rmail/rubygem-rmail.SlackBuild delete mode 100644 libraries/rubygem-rmail/rubygem-rmail.info delete mode 100644 libraries/rubygem-rmail/slack-desc delete mode 100644 libraries/rubygem-trollop/README delete mode 100644 libraries/rubygem-trollop/rubygem-trollop.SlackBuild delete mode 100644 libraries/rubygem-trollop/rubygem-trollop.info delete mode 100644 libraries/rubygem-trollop/slack-desc delete mode 100644 libraries/rubygem-xapian-full/README delete mode 100644 libraries/rubygem-xapian-full/rubygem-xapian-full.SlackBuild delete mode 100644 libraries/rubygem-xapian-full/rubygem-xapian-full.info delete mode 100644 libraries/rubygem-xapian-full/slack-desc delete mode 100644 network/rubygem-sup/README delete mode 100644 network/rubygem-sup/rubygem-sup.SlackBuild delete mode 100644 network/rubygem-sup/rubygem-sup.info delete mode 100644 network/rubygem-sup/slack-desc create mode 100644 ruby/ruby-gtk2/README create mode 100644 ruby/ruby-gtk2/ruby-gtk2.SlackBuild create mode 100644 ruby/ruby-gtk2/ruby-gtk2.info create mode 100644 ruby/ruby-gtk2/slack-desc create mode 100644 ruby/rubygem-gettext/README create mode 100644 ruby/rubygem-gettext/rubygem-gettext.SlackBuild create mode 100644 ruby/rubygem-gettext/rubygem-gettext.info create mode 100644 ruby/rubygem-gettext/slack-desc create mode 100644 ruby/rubygem-highline/README create mode 100644 ruby/rubygem-highline/rubygem-highline.SlackBuild create mode 100644 ruby/rubygem-highline/rubygem-highline.info create mode 100644 ruby/rubygem-highline/slack-desc create mode 100644 ruby/rubygem-locale/README create mode 100644 ruby/rubygem-locale/rubygem-locale.SlackBuild create mode 100644 ruby/rubygem-locale/rubygem-locale.info create mode 100644 ruby/rubygem-locale/slack-desc create mode 100644 ruby/rubygem-lockfile/README create mode 100644 ruby/rubygem-lockfile/rubygem-lockfile.SlackBuild create mode 100644 ruby/rubygem-lockfile/rubygem-lockfile.info create mode 100644 ruby/rubygem-lockfile/slack-desc create mode 100644 ruby/rubygem-mime-types/README create mode 100644 ruby/rubygem-mime-types/rubygem-mime-types.SlackBuild create mode 100644 ruby/rubygem-mime-types/rubygem-mime-types.info create mode 100644 ruby/rubygem-mime-types/slack-desc create mode 100644 ruby/rubygem-ncursesw/README create mode 100644 ruby/rubygem-ncursesw/rubygem-ncursesw.SlackBuild create mode 100644 ruby/rubygem-ncursesw/rubygem-ncursesw.info create mode 100644 ruby/rubygem-ncursesw/slack-desc create mode 100644 ruby/rubygem-net-ssh/README create mode 100644 ruby/rubygem-net-ssh/rubygem-net-ssh.SlackBuild create mode 100644 ruby/rubygem-net-ssh/rubygem-net-ssh.info create mode 100644 ruby/rubygem-net-ssh/slack-desc create mode 100644 ruby/rubygem-rmail/README create mode 100644 ruby/rubygem-rmail/rubygem-rmail.SlackBuild create mode 100644 ruby/rubygem-rmail/rubygem-rmail.info create mode 100644 ruby/rubygem-rmail/slack-desc create mode 100644 ruby/rubygem-sup/README create mode 100644 ruby/rubygem-sup/rubygem-sup.SlackBuild create mode 100644 ruby/rubygem-sup/rubygem-sup.info create mode 100644 ruby/rubygem-sup/slack-desc create mode 100644 ruby/rubygem-trollop/README create mode 100644 ruby/rubygem-trollop/rubygem-trollop.SlackBuild create mode 100644 ruby/rubygem-trollop/rubygem-trollop.info create mode 100644 ruby/rubygem-trollop/slack-desc create mode 100644 ruby/rubygem-xapian-full/README create mode 100644 ruby/rubygem-xapian-full/rubygem-xapian-full.SlackBuild create mode 100644 ruby/rubygem-xapian-full/rubygem-xapian-full.info create mode 100644 ruby/rubygem-xapian-full/slack-desc diff --git a/libraries/ruby-gtk2/README b/libraries/ruby-gtk2/README deleted file mode 100644 index 739f55c30b..0000000000 --- a/libraries/ruby-gtk2/README +++ /dev/null @@ -1,8 +0,0 @@ -ruby-gtk2 (ruby bindings for gtk2) - -This is a subset of the Ruby-GNOME2 project. Ruby-GNOME2 is a set of -Ruby language bindings for the GNOME 2.0 development environment. -This is the next generation of Ruby-GNOME. - -Included libraries are Ruby/GLib2, Ruby/ATK, Ruby/Pango, Ruby/GdkPixbuf2, -and Ruby/GTK2. diff --git a/libraries/ruby-gtk2/ruby-gtk2.SlackBuild b/libraries/ruby-gtk2/ruby-gtk2.SlackBuild deleted file mode 100644 index e4f3fcf159..0000000000 --- a/libraries/ruby-gtk2/ruby-gtk2.SlackBuild +++ /dev/null @@ -1,56 +0,0 @@ -#!/bin/sh - -# Slackware build script for ruby-gtk2 - -# Written by Vincent Batts, vbatts@hashbangbash.com - -PRGNAM=ruby-gtk2 -VERSION=${VERSION:-0.19.3} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -# Automatically determine the architecture we're building on: -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i486 ;; - arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: - *) ARCH=$( uname -m ) ;; - esac -fi - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM-$VERSION -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -ruby extconf.rb -make -make install DESTDIR=$PKG - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - AUTHORS COPYING.LIB ChangeLog NEWS README \ - $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/libraries/ruby-gtk2/ruby-gtk2.info b/libraries/ruby-gtk2/ruby-gtk2.info deleted file mode 100644 index 43cec1c97e..0000000000 --- a/libraries/ruby-gtk2/ruby-gtk2.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="ruby-gtk2" -VERSION="0.19.3" -HOMEPAGE="http://ruby-gnome2.sourceforge.jp/" -DOWNLOAD="http://downloads.sourceforge.net/sourceforge/ruby-gnome2/ruby-gtk2-0.19.3.tar.gz" -MD5SUM="a8f8dac03008d7c6397a3fe225ef5929" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -MAINTAINER="Vincent Batts" -EMAIL="vbatts@hashbangbash.com" -APPROVED="rworkman" diff --git a/libraries/ruby-gtk2/slack-desc b/libraries/ruby-gtk2/slack-desc deleted file mode 100644 index b3387142ef..0000000000 --- a/libraries/ruby-gtk2/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -ruby-gtk2: ruby-gtk2 (ruby bindings for gtk2) -ruby-gtk2: -ruby-gtk2: This is a subset of the Ruby-GNOME2 project. Ruby-GNOME2 is a set of -ruby-gtk2: Ruby language bindings for the GNOME 2.0 development environment. -ruby-gtk2: -ruby-gtk2: This is the next generation of Ruby-GNOME. -ruby-gtk2: -ruby-gtk2: Homepage: http://ruby-gnome2.sourceforge.jp/ -ruby-gtk2: -ruby-gtk2: -ruby-gtk2: diff --git a/libraries/rubygem-gettext/README b/libraries/rubygem-gettext/README deleted file mode 100644 index 2e1ca6eab9..0000000000 --- a/libraries/rubygem-gettext/README +++ /dev/null @@ -1,4 +0,0 @@ -Rubygem-gettext is a GNU GetText-like program for Ruby. The catalog file -(po-file) uses the same format as GNU GetText. - -This requires rubygem-locale. diff --git a/libraries/rubygem-gettext/rubygem-gettext.SlackBuild b/libraries/rubygem-gettext/rubygem-gettext.SlackBuild deleted file mode 100644 index 8d49c5db0d..0000000000 --- a/libraries/rubygem-gettext/rubygem-gettext.SlackBuild +++ /dev/null @@ -1,99 +0,0 @@ -#!/bin/sh - -# Script written by Benjamin Trigona-Harany (bosth@alumni.sfu.ca) -# based on rubygem template by vbatts - -PRGNAM=rubygem-gettext -VERSION=${VERSION:-2.1.0} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -SRCNAM=gettext - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i486 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP - -DESTDIR=$( ruby -r rbconfig -e ' -include RbConfig -printf("%s/%s/gems/%s\n", - CONFIG["libdir"], - CONFIG["RUBY_INSTALL_NAME"], - CONFIG["ruby_version"] - ) -') - -# print a friendly warning of unsatisfied dependencies -gem specification $CWD/$SRCNAM-$VERSION.gem | \ - ruby -r yaml -r rbconfig -e ' -c = Config::CONFIG -path = sprintf("%s/%s/gems/%s", - c["libdir"], - c["RUBY_INSTALL_NAME"], - c["ruby_version"]) -sys_gemspecs = Dir.glob(path + "/specifications/*").map {|g| gs = Gem::Specification.load(g); gs.name } -obj = Gem::Specification.from_yaml($stdin) -obj.dependencies.each {|dep| - if not(dep.type == :runtime) - next - end - if not(sys_gemspecs.include?(dep.name)) - $stderr.write("WARNING: #{dep.name} gem not found\n") - sleep 0.5 - end -}' - -gem install \ - --local \ - --no-update-sources \ - --ignore-dependencies \ - --backtrace \ - --install-dir $PKG/$DESTDIR \ - $CWD/$SRCNAM-$VERSION.gem - -# Strip binaries and libraries. -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -# Remove cached gem from install -rm -rf $PKG/$DESTDIR/cache - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -tar -x -O --file=$CWD/$SRCNAM-$VERSION.gem data.tar.gz | tar -xz -C $PKG/usr/doc/$PRGNAM-$VERSION --file=- \ - COPYING ChangeLog NEWS-1 README.rdoc -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/libraries/rubygem-gettext/rubygem-gettext.info b/libraries/rubygem-gettext/rubygem-gettext.info deleted file mode 100644 index 6be0a82d35..0000000000 --- a/libraries/rubygem-gettext/rubygem-gettext.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="rubygem-gettext" -VERSION="2.1.0" -HOMEPAGE="http://www.yotabanana.com/hiki/ruby-gettext.html" -DOWNLOAD="http://rubygems.org/downloads/gettext-2.1.0.gem" -MD5SUM="5b6fc788ca241aeb5997c4081cbb311d" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -MAINTAINER="Benjamin Trigona-Harany" -EMAIL="bosth@alumni.sfu.ca" -APPROVED="dsomero" diff --git a/libraries/rubygem-gettext/slack-desc b/libraries/rubygem-gettext/slack-desc deleted file mode 100644 index e4ca3365ba..0000000000 --- a/libraries/rubygem-gettext/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -rubygem-gettext: rubygem-gettext (gettext for ruby) -rubygem-gettext: -rubygem-gettext: Ruby-GetText is a GNU GetText-like program for Ruby. -rubygem-gettext: -rubygem-gettext: -rubygem-gettext: -rubygem-gettext: -rubygem-gettext: -rubygem-gettext: -rubygem-gettext: -rubygem-gettext: diff --git a/libraries/rubygem-highline/README b/libraries/rubygem-highline/README deleted file mode 100644 index 04cdaac4a1..0000000000 --- a/libraries/rubygem-highline/README +++ /dev/null @@ -1,7 +0,0 @@ -HighLine is a Ruby Gem designed to ease the tasks of doing console -input and output with low-level methods like gets() and puts(). -HighLine provides a robust system for requesting data from a user, -without needing to code all the error checking and validation rules and -without needing to convert the typed Strings into what your program -really needs. Just tell HighLine what you're after, and let it do -all the work. diff --git a/libraries/rubygem-highline/rubygem-highline.SlackBuild b/libraries/rubygem-highline/rubygem-highline.SlackBuild deleted file mode 100644 index 0aba1771e6..0000000000 --- a/libraries/rubygem-highline/rubygem-highline.SlackBuild +++ /dev/null @@ -1,99 +0,0 @@ -#!/bin/sh - -# Script written by Benjamin Trigona-Harany (bosth@alumni.sfu.ca) -# based on rubygem template by vbatts - -PRGNAM=rubygem-highline -VERSION=${VERSION:-1.6.1} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -SRCNAM=highline - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i486 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP - -DESTDIR=$( ruby -r rbconfig -e ' -include RbConfig -printf("%s/%s/gems/%s\n", - CONFIG["libdir"], - CONFIG["RUBY_INSTALL_NAME"], - CONFIG["ruby_version"] - ) -') - -# print a friendly warning of unsatisfied dependencies -gem specification $CWD/$SRCNAM-$VERSION.gem | \ - ruby -r yaml -r rbconfig -e ' -c = Config::CONFIG -path = sprintf("%s/%s/gems/%s", - c["libdir"], - c["RUBY_INSTALL_NAME"], - c["ruby_version"]) -sys_gemspecs = Dir.glob(path + "/specifications/*").map {|g| gs = Gem::Specification.load(g); gs.name } -obj = Gem::Specification.from_yaml($stdin) -obj.dependencies.each {|dep| - if not(dep.type == :runtime) - next - end - if not(sys_gemspecs.include?(dep.name)) - $stderr.write("WARNING: #{dep.name} gem not found\n") - sleep 0.5 - end -}' - -gem install \ - --local \ - --no-update-sources \ - --ignore-dependencies \ - --backtrace \ - --install-dir $PKG/$DESTDIR \ - $CWD/$SRCNAM-$VERSION.gem - -# Strip binaries and libraries. -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -# Remove cached gem from install -rm -rf $PKG/$DESTDIR/cache - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -tar -x -O --file=$CWD/$SRCNAM-$VERSION.gem data.tar.gz | tar -xz -C $PKG/usr/doc/$PRGNAM-$VERSION --file=- \ - CHANGELOG INSTALL LICENSE README TODO -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/libraries/rubygem-highline/rubygem-highline.info b/libraries/rubygem-highline/rubygem-highline.info deleted file mode 100644 index c28301a99b..0000000000 --- a/libraries/rubygem-highline/rubygem-highline.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="rubygem-highline" -VERSION="1.6.1" -HOMEPAGE="http://highline.rubyforge.org/" -DOWNLOAD="http://rubygems.org/downloads/highline-1.6.1.gem" -MD5SUM="7df5009f04255c573751661bc58459f8" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -MAINTAINER="Benjamin Trigona-Harany" -EMAIL="bosth@alumni.sfu.ca" -APPROVED="dsomero" diff --git a/libraries/rubygem-highline/slack-desc b/libraries/rubygem-highline/slack-desc deleted file mode 100644 index 0fad89ef8c..0000000000 --- a/libraries/rubygem-highline/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -rubygem-highline: rubygem-highline (ruby console input library) -rubygem-highline: -rubygem-highline: HighLine is a Ruby Gem designed to ease the tasks of doing console -rubygem-highline: input and output with low-level methods like gets() and puts(). -rubygem-highline: HighLine provides a robust system for requesting data from a user, -rubygem-highline: without needing to code all the error checking and validation rules -rubygem-highline: and without needing to convert the typed strings into what your -rubygem-highline: program really needs. -rubygem-highline: -rubygem-highline: -rubygem-highline: diff --git a/libraries/rubygem-locale/README b/libraries/rubygem-locale/README deleted file mode 100644 index 9cea5089cf..0000000000 --- a/libraries/rubygem-locale/README +++ /dev/null @@ -1,2 +0,0 @@ -Ruby-Locale is the pure ruby library which provides basic APIs for -localization. diff --git a/libraries/rubygem-locale/rubygem-locale.SlackBuild b/libraries/rubygem-locale/rubygem-locale.SlackBuild deleted file mode 100644 index 3bfc52f257..0000000000 --- a/libraries/rubygem-locale/rubygem-locale.SlackBuild +++ /dev/null @@ -1,99 +0,0 @@ -#!/bin/sh - -# Script written by Benjamin Trigona-Harany (bosth@alumni.sfu.ca) -# based on rubygem template by vbatts - -PRGNAM=rubygem-locale -VERSION=${VERSION:-2.0.5} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -SRCNAM=locale - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i486 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP - -DESTDIR=$( ruby -r rbconfig -e ' -include RbConfig -printf("%s/%s/gems/%s\n", - CONFIG["libdir"], - CONFIG["RUBY_INSTALL_NAME"], - CONFIG["ruby_version"] - ) -') - -# print a friendly warning of unsatisfied dependencies -gem specification $CWD/$SRCNAM-$VERSION.gem | \ - ruby -r yaml -r rbconfig -e ' -c = Config::CONFIG -path = sprintf("%s/%s/gems/%s", - c["libdir"], - c["RUBY_INSTALL_NAME"], - c["ruby_version"]) -sys_gemspecs = Dir.glob(path + "/specifications/*").map {|g| gs = Gem::Specification.load(g); gs.name } -obj = Gem::Specification.from_yaml($stdin) -obj.dependencies.each {|dep| - if not(dep.type == :runtime) - next - end - if not(sys_gemspecs.include?(dep.name)) - $stderr.write("WARNING: #{dep.name} gem not found\n") - sleep 0.5 - end -}' - -gem install \ - --local \ - --no-update-sources \ - --ignore-dependencies \ - --backtrace \ - --install-dir $PKG/$DESTDIR \ - $CWD/$SRCNAM-$VERSION.gem - -# Strip binaries and libraries. -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -# Remove cached gem from install -rm -rf $PKG/$DESTDIR/cache - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -tar -x -O --file=$CWD/$SRCNAM-$VERSION.gem data.tar.gz | tar -xz -C $PKG/usr/doc/$PRGNAM-$VERSION --file=- \ - ChangeLog COPYING -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/libraries/rubygem-locale/rubygem-locale.info b/libraries/rubygem-locale/rubygem-locale.info deleted file mode 100644 index ea6a359dcc..0000000000 --- a/libraries/rubygem-locale/rubygem-locale.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="rubygem-locale" -VERSION="2.0.5" -HOMEPAGE="http://locale.rubyforge.org/" -DOWNLOAD="http://rubygems.org/downloads/locale-2.0.5.gem" -MD5SUM="90d530335d0210f8e58c2bad95003951" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -MAINTAINER="Benjamin Trigona-Harany" -EMAIL="bosth@alumni.sfu.ca" -APPROVED="dsomero" diff --git a/libraries/rubygem-locale/slack-desc b/libraries/rubygem-locale/slack-desc deleted file mode 100644 index 53d971c8b5..0000000000 --- a/libraries/rubygem-locale/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -rubygem-locale: rubygem-locale (localisation API for Ruby) -rubygem-locale: -rubygem-locale: Rubygem of the pure ruby library which provides basic APIs for -rubygem-locale: localisation. -rubygem-locale: -rubygem-locale: -rubygem-locale: -rubygem-locale: -rubygem-locale: -rubygem-locale: -rubygem-locale: diff --git a/libraries/rubygem-lockfile/README b/libraries/rubygem-lockfile/README deleted file mode 100644 index c4a7ebd72a..0000000000 --- a/libraries/rubygem-lockfile/README +++ /dev/null @@ -1 +0,0 @@ -Rubygem package for creating lockfiles under Ruby. diff --git a/libraries/rubygem-lockfile/rubygem-lockfile.SlackBuild b/libraries/rubygem-lockfile/rubygem-lockfile.SlackBuild deleted file mode 100644 index 72581961dd..0000000000 --- a/libraries/rubygem-lockfile/rubygem-lockfile.SlackBuild +++ /dev/null @@ -1,99 +0,0 @@ -#!/bin/sh - -# Script written by Benjamin Trigona-Harany (bosth@alumni.sfu.ca) -# based on rubygem template by vbatts - -PRGNAM=rubygem-lockfile -VERSION=${VERSION:-1.4.3} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -SRCNAM=lockfile - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i486 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP - -DESTDIR=$( ruby -r rbconfig -e ' -include RbConfig -printf("%s/%s/gems/%s\n", - CONFIG["libdir"], - CONFIG["RUBY_INSTALL_NAME"], - CONFIG["ruby_version"] - ) -') - -# print a friendly warning of unsatisfied dependencies -gem specification $CWD/$SRCNAM-$VERSION.gem | \ - ruby -r yaml -r rbconfig -e ' -c = Config::CONFIG -path = sprintf("%s/%s/gems/%s", - c["libdir"], - c["RUBY_INSTALL_NAME"], - c["ruby_version"]) -sys_gemspecs = Dir.glob(path + "/specifications/*").map {|g| gs = Gem::Specification.load(g); gs.name } -obj = Gem::Specification.from_yaml($stdin) -obj.dependencies.each {|dep| - if not(dep.type == :runtime) - next - end - if not(sys_gemspecs.include?(dep.name)) - $stderr.write("WARNING: #{dep.name} gem not found\n") - sleep 0.5 - end -}' - -gem install \ - --local \ - --no-update-sources \ - --ignore-dependencies \ - --backtrace \ - --install-dir $PKG/$DESTDIR \ - $CWD/$SRCNAM-$VERSION.gem - -# Strip binaries and libraries. -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -# Remove cached gem from install -rm -rf $PKG/$DESTDIR/cache - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -tar -x -O --file=$CWD/$SRCNAM-$VERSION.gem data.tar.gz | tar -xz -C $PKG/usr/doc/$PRGNAM-$VERSION --file=- \ - README -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/libraries/rubygem-lockfile/rubygem-lockfile.info b/libraries/rubygem-lockfile/rubygem-lockfile.info deleted file mode 100644 index 1aa400d15b..0000000000 --- a/libraries/rubygem-lockfile/rubygem-lockfile.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="rubygem-lockfile" -VERSION="1.4.3" -HOMEPAGE="http://rubygems.org/gems/lockfile" -DOWNLOAD="http://rubygems.org/downloads/lockfile-1.4.3.gem" -MD5SUM="53a63206bbaefb7106db5a74a5adf148" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -MAINTAINER="Benjamin Trigona-Harany" -EMAIL="bosth@alumni.sfu.ca" -APPROVED="dsomero" diff --git a/libraries/rubygem-lockfile/slack-desc b/libraries/rubygem-lockfile/slack-desc deleted file mode 100644 index c33e1f136f..0000000000 --- a/libraries/rubygem-lockfile/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -rubygem-lockfile: rubygem-lockfile (Ruby lockfiles) -rubygem-lockfile: -rubygem-lockfile: Rubygem for creating lockfiles under ruby. -rubygem-lockfile: -rubygem-lockfile: -rubygem-lockfile: -rubygem-lockfile: -rubygem-lockfile: -rubygem-lockfile: -rubygem-lockfile: -rubygem-lockfile: diff --git a/libraries/rubygem-mime-types/README b/libraries/rubygem-mime-types/README deleted file mode 100644 index 3386d7c796..0000000000 --- a/libraries/rubygem-mime-types/README +++ /dev/null @@ -1,3 +0,0 @@ -This library allows for the identification of a file's likely MIME -content type. The identification of MIME content type is based on a -file's filename extensions. diff --git a/libraries/rubygem-mime-types/rubygem-mime-types.SlackBuild b/libraries/rubygem-mime-types/rubygem-mime-types.SlackBuild deleted file mode 100644 index eb01209dd8..0000000000 --- a/libraries/rubygem-mime-types/rubygem-mime-types.SlackBuild +++ /dev/null @@ -1,99 +0,0 @@ -#!/bin/sh - -# Script written by Benjamin Trigona-Harany (bosth@alumni.sfu.ca) -# based on rubygem template by vbatts - -PRGNAM=rubygem-mime-types -VERSION=${VERSION:-1.16} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -SRCNAM=mime-types - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i486 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP - -DESTDIR=$( ruby -r rbconfig -e ' -include RbConfig -printf("%s/%s/gems/%s\n", - CONFIG["libdir"], - CONFIG["RUBY_INSTALL_NAME"], - CONFIG["ruby_version"] - ) -') - -# print a friendly warning of unsatisfied dependencies -gem specification $CWD/$SRCNAM-$VERSION.gem | \ - ruby -r yaml -r rbconfig -e ' -c = Config::CONFIG -path = sprintf("%s/%s/gems/%s", - c["libdir"], - c["RUBY_INSTALL_NAME"], - c["ruby_version"]) -sys_gemspecs = Dir.glob(path + "/specifications/*").map {|g| gs = Gem::Specification.load(g); gs.name } -obj = Gem::Specification.from_yaml($stdin) -obj.dependencies.each {|dep| - if not(dep.type == :runtime) - next - end - if not(sys_gemspecs.include?(dep.name)) - $stderr.write("WARNING: #{dep.name} gem not found\n") - sleep 0.5 - end -}' - -gem install \ - --local \ - --no-update-sources \ - --ignore-dependencies \ - --backtrace \ - --install-dir $PKG/$DESTDIR \ - $CWD/$SRCNAM-$VERSION.gem - -# Strip binaries and libraries. -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -# Remove cached gem from install -rm -rf $PKG/$DESTDIR/cache - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -tar -x -O --file=$CWD/$SRCNAM-$VERSION.gem data.tar.gz | tar -xz -C $PKG/usr/doc/$PRGNAM-$VERSION --file=- \ - README.txt Install.txt History.txt Licence.txt -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/libraries/rubygem-mime-types/rubygem-mime-types.info b/libraries/rubygem-mime-types/rubygem-mime-types.info deleted file mode 100644 index e1bdb2b2e3..0000000000 --- a/libraries/rubygem-mime-types/rubygem-mime-types.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="rubygem-mime-types" -VERSION="1.16" -HOMEPAGE="http://mime-types.rubyforge.org" -DOWNLOAD="http://rubygems.org/downloads/mime-types-1.16.gem" -MD5SUM="2c9b8568a76cc632578a292db4a71b9a" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -MAINTAINER="Benjamin Trigona-Harany" -EMAIL="bosth@alumni.sfu.ca" -APPROVED="dsomero" diff --git a/libraries/rubygem-mime-types/slack-desc b/libraries/rubygem-mime-types/slack-desc deleted file mode 100644 index 8cd146c29e..0000000000 --- a/libraries/rubygem-mime-types/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -rubygem-mime-types: rubygem-mime-types (mime-types) -rubygem-mime-types: -rubygem-mime-types: This library allows for the identification of a file's likely MIME -rubygem-mime-types: content type. The identification of MIME content type is based on a -rubygem-mime-types: file's filename extensions. -rubygem-mime-types: -rubygem-mime-types: -rubygem-mime-types: -rubygem-mime-types: -rubygem-mime-types: -rubygem-mime-types: diff --git a/libraries/rubygem-ncursesw/README b/libraries/rubygem-ncursesw/README deleted file mode 100644 index 4f45455a9a..0000000000 --- a/libraries/rubygem-ncursesw/README +++ /dev/null @@ -1,3 +0,0 @@ -This ruby extension makes most functions, constants, and external -variables of the C library ncurses accessible from the Ruby programming -language. This implementation has wide character support. diff --git a/libraries/rubygem-ncursesw/rubygem-ncursesw.SlackBuild b/libraries/rubygem-ncursesw/rubygem-ncursesw.SlackBuild deleted file mode 100644 index df14e2ab86..0000000000 --- a/libraries/rubygem-ncursesw/rubygem-ncursesw.SlackBuild +++ /dev/null @@ -1,99 +0,0 @@ -#!/bin/sh - -# Script written by Benjamin Trigona-Harany (bosth@alumni.sfu.ca) -# based on rubygem template by vbatts - -PRGNAM=rubygem-ncursesw -VERSION=${VERSION:-1.2.4.2} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -SRCNAM=ncursesw - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i486 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP - -DESTDIR=$( ruby -r rbconfig -e ' -include RbConfig -printf("%s/%s/gems/%s\n", - CONFIG["libdir"], - CONFIG["RUBY_INSTALL_NAME"], - CONFIG["ruby_version"] - ) -') - -# print a friendly warning of unsatisfied dependencies -gem specification $CWD/$SRCNAM-$VERSION.gem | \ - ruby -r yaml -r rbconfig -e ' -c = Config::CONFIG -path = sprintf("%s/%s/gems/%s", - c["libdir"], - c["RUBY_INSTALL_NAME"], - c["ruby_version"]) -sys_gemspecs = Dir.glob(path + "/specifications/*").map {|g| gs = Gem::Specification.load(g); gs.name } -obj = Gem::Specification.from_yaml($stdin) -obj.dependencies.each {|dep| - if not(dep.type == :runtime) - next - end - if not(sys_gemspecs.include?(dep.name)) - $stderr.write("WARNING: #{dep.name} gem not found\n") - sleep 0.5 - end -}' - -gem install \ - --local \ - --no-update-sources \ - --ignore-dependencies \ - --backtrace \ - --install-dir $PKG/$DESTDIR \ - $CWD/$SRCNAM-$VERSION.gem - -# Strip binaries and libraries. -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -# Remove cached gem from install -rm -rf $PKG/$DESTDIR/cache - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -tar -x -O --file=$CWD/$SRCNAM-$VERSION.gem data.tar.gz | tar -xz -C $PKG/usr/doc/$PRGNAM-$VERSION --file=- \ - COPYING Changes README THANKS TODO -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/libraries/rubygem-ncursesw/rubygem-ncursesw.info b/libraries/rubygem-ncursesw/rubygem-ncursesw.info deleted file mode 100644 index 3f6fba9d79..0000000000 --- a/libraries/rubygem-ncursesw/rubygem-ncursesw.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="rubygem-ncursesw" -VERSION="1.2.4.2" -HOMEPAGE="http://ncurses-ruby.berlios.de" -DOWNLOAD="http://rubygems.org/downloads/ncursesw-1.2.4.2.gem" -MD5SUM="07530a297ce1b7d7a18f4f416e941f98" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -MAINTAINER="Benjamin Trigona-Harany" -EMAIL="bosth@alumni.sfu.ca" -APPROVED="dsomero" diff --git a/libraries/rubygem-ncursesw/slack-desc b/libraries/rubygem-ncursesw/slack-desc deleted file mode 100644 index e79a88ee79..0000000000 --- a/libraries/rubygem-ncursesw/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -rubygem-ncursesw: rubygem-ncursesw (ncurses library with wide-char support) -rubygem-ncursesw: -rubygem-ncursesw: This ruby extension makes most functions, constants, and external -rubygem-ncursesw: variables of the C library ncurses accessible from the Ruby -rubygem-ncursesw: programming language. -rubygem-ncursesw: -rubygem-ncursesw: This implementation supports wide characters. -rubygem-ncursesw: -rubygem-ncursesw: -rubygem-ncursesw: -rubygem-ncursesw: diff --git a/libraries/rubygem-net-ssh/README b/libraries/rubygem-net-ssh/README deleted file mode 100644 index 0d867380a6..0000000000 --- a/libraries/rubygem-net-ssh/README +++ /dev/null @@ -1 +0,0 @@ -Net-ssh is a pure-Ruby implementation of the SSH2 client protocol. diff --git a/libraries/rubygem-net-ssh/rubygem-net-ssh.SlackBuild b/libraries/rubygem-net-ssh/rubygem-net-ssh.SlackBuild deleted file mode 100644 index bf7c6c20b7..0000000000 --- a/libraries/rubygem-net-ssh/rubygem-net-ssh.SlackBuild +++ /dev/null @@ -1,99 +0,0 @@ -#!/bin/sh - -# Script written by Benjamin Trigona-Harany (bosth@alumni.sfu.ca) -# based on rubygem template by vbatts - -PRGNAM=rubygem-net-ssh -VERSION=${VERSION:-2.0.23} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -SRCNAM=net-ssh - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i486 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP - -DESTDIR=$( ruby -r rbconfig -e ' -include RbConfig -printf("%s/%s/gems/%s\n", - CONFIG["libdir"], - CONFIG["RUBY_INSTALL_NAME"], - CONFIG["ruby_version"] - ) -') - -# print a friendly warning of unsatisfied dependencies -gem specification $CWD/$SRCNAM-$VERSION.gem | \ - ruby -r yaml -r rbconfig -e ' -c = Config::CONFIG -path = sprintf("%s/%s/gems/%s", - c["libdir"], - c["RUBY_INSTALL_NAME"], - c["ruby_version"]) -sys_gemspecs = Dir.glob(path + "/specifications/*").map {|g| gs = Gem::Specification.load(g); gs.name } -obj = Gem::Specification.from_yaml($stdin) -obj.dependencies.each {|dep| - if not(dep.type == :runtime) - next - end - if not(sys_gemspecs.include?(dep.name)) - $stderr.write("WARNING: #{dep.name} gem not found\n") - sleep 0.5 - end -}' - -gem install \ - --local \ - --no-update-sources \ - --ignore-dependencies \ - --backtrace \ - --install-dir $PKG/$DESTDIR \ - $CWD/$SRCNAM-$VERSION.gem - -# Strip binaries and libraries. -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -# Remove cached gem from install -rm -rf $PKG/$DESTDIR/cache - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -tar -x -O --file=$CWD/$SRCNAM-$VERSION.gem data.tar.gz | tar -xz -C $PKG/usr/doc/$PRGNAM-$VERSION --file=- \ - README.rdoc -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/libraries/rubygem-net-ssh/rubygem-net-ssh.info b/libraries/rubygem-net-ssh/rubygem-net-ssh.info deleted file mode 100644 index 0d21f29c06..0000000000 --- a/libraries/rubygem-net-ssh/rubygem-net-ssh.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="rubygem-net-ssh" -VERSION="2.0.23" -HOMEPAGE="http://github.com/net-ssh/net-ssh" -DOWNLOAD="http://rubygems.org/downloads/net-ssh-2.0.23.gem" -MD5SUM="14d51aab0ac31f2af9646236a6af848e" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -MAINTAINER="Benjamin Trigona-Harany" -EMAIL="bosth@alumni.sfu.ca" -APPROVED="dsomero" diff --git a/libraries/rubygem-net-ssh/slack-desc b/libraries/rubygem-net-ssh/slack-desc deleted file mode 100644 index b74dc78d89..0000000000 --- a/libraries/rubygem-net-ssh/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -rubygem-net-ssh: rubygem-net-ssh (ruby implementation of ssh2) -rubygem-net-ssh: -rubygem-net-ssh: A pure Ruby implementation of the ssh2 client protocol. -rubygem-net-ssh: -rubygem-net-ssh: -rubygem-net-ssh: -rubygem-net-ssh: -rubygem-net-ssh: -rubygem-net-ssh: -rubygem-net-ssh: -rubygem-net-ssh: diff --git a/libraries/rubygem-rmail/README b/libraries/rubygem-rmail/README deleted file mode 100644 index c4e9601543..0000000000 --- a/libraries/rubygem-rmail/README +++ /dev/null @@ -1,3 +0,0 @@ -RMail is a lightweight mail library containing various utility classes -and modules that allow ruby scripts to parse, modify, and generate -MIME mail messages. diff --git a/libraries/rubygem-rmail/rubygem-rmail.SlackBuild b/libraries/rubygem-rmail/rubygem-rmail.SlackBuild deleted file mode 100644 index fc7119278c..0000000000 --- a/libraries/rubygem-rmail/rubygem-rmail.SlackBuild +++ /dev/null @@ -1,99 +0,0 @@ -#!/bin/sh - -# Script written by Benjamin Trigona-Harany (bosth@alumni.sfu.ca) -# based on rubygem template by vbatts - -PRGNAM=rubygem-rmail -VERSION=${VERSION:-1.0.0} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -SRCNAM=rmail - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i486 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP - -DESTDIR=$( ruby -r rbconfig -e ' -include RbConfig -printf("%s/%s/gems/%s\n", - CONFIG["libdir"], - CONFIG["RUBY_INSTALL_NAME"], - CONFIG["ruby_version"] - ) -') - -# print a friendly warning of unsatisfied dependencies -gem specification $CWD/$SRCNAM-$VERSION.gem | \ - ruby -r yaml -r rbconfig -e ' -c = Config::CONFIG -path = sprintf("%s/%s/gems/%s", - c["libdir"], - c["RUBY_INSTALL_NAME"], - c["ruby_version"]) -sys_gemspecs = Dir.glob(path + "/specifications/*").map {|g| gs = Gem::Specification.load(g); gs.name } -obj = Gem::Specification.from_yaml($stdin) -obj.dependencies.each {|dep| - if not(dep.type == :runtime) - next - end - if not(sys_gemspecs.include?(dep.name)) - $stderr.write("WARNING: #{dep.name} gem not found\n") - sleep 0.5 - end -}' - -gem install \ - --local \ - --no-update-sources \ - --ignore-dependencies \ - --backtrace \ - --install-dir $PKG/$DESTDIR \ - $CWD/$SRCNAM-$VERSION.gem - -# Strip binaries and libraries. -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -# Remove cached gem from install -rm -rf $PKG/$DESTDIR/cache - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -tar -x -O --file=$CWD/$SRCNAM-$VERSION.gem data.tar.gz | tar -xz -C $PKG/usr/doc/$PRGNAM-$VERSION --file=- \ - NEWS NOTES README TODO -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/libraries/rubygem-rmail/rubygem-rmail.info b/libraries/rubygem-rmail/rubygem-rmail.info deleted file mode 100644 index a1ed9a93bd..0000000000 --- a/libraries/rubygem-rmail/rubygem-rmail.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="rubygem-rmail" -VERSION="1.0.0" -HOMEPAGE="http://www.rfc20.org/rubymail" -DOWNLOAD="http://rubygems.org/downloads/rmail-1.0.0.gem" -MD5SUM="c94a6595a71aec61da5723699caea38c" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -MAINTAINER="Benjamin Trigona-Harany" -EMAIL="bosth@alumni.sfu.ca" -APPROVED="dsomero" diff --git a/libraries/rubygem-rmail/slack-desc b/libraries/rubygem-rmail/slack-desc deleted file mode 100644 index 34d160117d..0000000000 --- a/libraries/rubygem-rmail/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -rubygem-rmail: rubygem-rmail (mail library for Ruby) -rubygem-rmail: -rubygem-rmail: RMail is a lightweight mail library containing various utility -rubygem-rmail: classes and modules that allow ruby scripts to parse, modify, and -rubygem-rmail: generate MIME mail messages. -rubygem-rmail: -rubygem-rmail: -rubygem-rmail: -rubygem-rmail: -rubygem-rmail: -rubygem-rmail: diff --git a/libraries/rubygem-trollop/README b/libraries/rubygem-trollop/README deleted file mode 100644 index f12d071998..0000000000 --- a/libraries/rubygem-trollop/README +++ /dev/null @@ -1,5 +0,0 @@ -Trollop is a commandline option parser for Ruby that just gets out of -your way. One line of code per option is all you need to write. For -that, you get a nice automatically-generated help page, robust option -parsing, command subcompletion, and sensible defaults for everything -you don't specify. diff --git a/libraries/rubygem-trollop/rubygem-trollop.SlackBuild b/libraries/rubygem-trollop/rubygem-trollop.SlackBuild deleted file mode 100644 index ee301994fe..0000000000 --- a/libraries/rubygem-trollop/rubygem-trollop.SlackBuild +++ /dev/null @@ -1,99 +0,0 @@ -#!/bin/sh - -# Script written by Benjamin Trigona-Harany (bosth@alumni.sfu.ca) -# based on rubygem template by vbatts - -PRGNAM=rubygem-trollop -VERSION=${VERSION:-1.16.2} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -SRCNAM=trollop - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i486 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP - -DESTDIR=$( ruby -r rbconfig -e ' -include RbConfig -printf("%s/%s/gems/%s\n", - CONFIG["libdir"], - CONFIG["RUBY_INSTALL_NAME"], - CONFIG["ruby_version"] - ) -') - -# print a friendly warning of unsatisfied dependencies -gem specification $CWD/$SRCNAM-$VERSION.gem | \ - ruby -r yaml -r rbconfig -e ' -c = Config::CONFIG -path = sprintf("%s/%s/gems/%s", - c["libdir"], - c["RUBY_INSTALL_NAME"], - c["ruby_version"]) -sys_gemspecs = Dir.glob(path + "/specifications/*").map {|g| gs = Gem::Specification.load(g); gs.name } -obj = Gem::Specification.from_yaml($stdin) -obj.dependencies.each {|dep| - if not(dep.type == :runtime) - next - end - if not(sys_gemspecs.include?(dep.name)) - $stderr.write("WARNING: #{dep.name} gem not found\n") - sleep 0.5 - end -}' - -gem install \ - --local \ - --no-update-sources \ - --ignore-dependencies \ - --backtrace \ - --install-dir $PKG/$DESTDIR \ - $CWD/$SRCNAM-$VERSION.gem - -# Strip binaries and libraries. -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -# Remove cached gem from install -rm -rf $PKG/$DESTDIR/cache - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -tar -x -O --file=$CWD/$SRCNAM-$VERSION.gem data.tar.gz | tar -xz -C $PKG/usr/doc/$PRGNAM-$VERSION --file=- \ - FAQ.txt History.txt README.txt -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/libraries/rubygem-trollop/rubygem-trollop.info b/libraries/rubygem-trollop/rubygem-trollop.info deleted file mode 100644 index 402a3a8522..0000000000 --- a/libraries/rubygem-trollop/rubygem-trollop.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="rubygem-trollop" -VERSION="1.16.2" -HOMEPAGE="http://trollop.rubyforge.org" -DOWNLOAD="http://rubygems.org/downloads/trollop-1.16.2.gem" -MD5SUM="8e7060748d49647cd9760e99ed745fbc" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -MAINTAINER="Benjamin Trigona-Harany" -EMAIL="bosth@alumni.sfu.ca" -APPROVED="dsomero" diff --git a/libraries/rubygem-trollop/slack-desc b/libraries/rubygem-trollop/slack-desc deleted file mode 100644 index 443431d0a8..0000000000 --- a/libraries/rubygem-trollop/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -rubygem-trollop: rubygem-trollop (Ruby commandline parser) -rubygem-trollop: -rubygem-trollop: Trollop is a commandline option parser for Ruby that just gets out -rubygem-trollop: of your way. One line of code per option is all you need to write. -rubygem-trollop: -rubygem-trollop: -rubygem-trollop: -rubygem-trollop: -rubygem-trollop: -rubygem-trollop: -rubygem-trollop: diff --git a/libraries/rubygem-xapian-full/README b/libraries/rubygem-xapian-full/README deleted file mode 100644 index 590f150ae3..0000000000 --- a/libraries/rubygem-xapian-full/README +++ /dev/null @@ -1,2 +0,0 @@ -Xapian bindings for Ruby without dependency on the xapian-core (or -any other) SlackBuild. diff --git a/libraries/rubygem-xapian-full/rubygem-xapian-full.SlackBuild b/libraries/rubygem-xapian-full/rubygem-xapian-full.SlackBuild deleted file mode 100644 index 2a19efdbea..0000000000 --- a/libraries/rubygem-xapian-full/rubygem-xapian-full.SlackBuild +++ /dev/null @@ -1,135 +0,0 @@ -#!/bin/sh - -# Script written by Benjamin Trigona-Harany (bosth@alumni.sfu.ca) -# based on rubygem template by vbatts - -PRGNAM=rubygem-xapian-full -VERSION=${VERSION:-1.2.3} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -SRCNAM=xapian-full - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i486 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -rm -rf $PKG $TMP/$SRCNAM-$VERSION -mkdir -p $TMP $PKG $OUTPUT -cd $TMP - -DESTDIR=$( ruby -r rbconfig -e ' -include RbConfig -printf("%s/%s/gems/%s\n", - CONFIG["libdir"], - CONFIG["RUBY_INSTALL_NAME"], - CONFIG["ruby_version"] - ) -') - -# print a friendly warning of unsatisfied dependencies -gem specification $CWD/$SRCNAM-$VERSION.gem | \ - ruby -r yaml -r rbconfig -e ' -obj = YAML::load($stdin) -obj.ivars["dependencies"].each {|d| - if not(d.ivars["type"] == :runtime) - next - end - - name = d.ivars["name"] - begin - require name - rescue LoadError - $stderr.write("WARNING: #{name} gem not found\n") - sleep 0.5 - end -}' - -gem unpack $CWD/$SRCNAM-$VERSION.gem -cd $SRCNAM-$VERSION - -mkdir -p $PKG/$DESTDIR/specifications -mv $SRCNAM.gemspec $PKG/$DESTDIR/specifications/$SRCNAM-$VERSION.gemspec - -( tar xvf xapian-core-$VERSION.tar.gz - cd xapian-core-$VERSION - chown -R root:root . - CFLAGS="${SLKCFLAGS}" \ - CPPFLAGS="${SLKCFLAGS}" \ - ./configure \ - --prefix=$DESTDIR/gems/$SRCNAM-$VERSION \ - --libdir=$DESTDIR/gems/$SRCNAM-$VERSION/lib \ - --disable-static \ - --disable-documentaion \ - --build=$ARCH-slackware-linux - - make - make install DESTDIR=$PKG -) - -( tar xvf xapian-bindings-$VERSION.tar.gz - cd xapian-bindings-$VERSION - chown -R root:root . - CFLAGS="${SLKCFLAGS} -I$PKG/$DESTDIR/gems/$SRCNAM-$VERSION/include -L$PKG/$DESTDIR/gems/$SRCNAM-$VERSION/lib" \ - LDFLAGS="${SLKCFLAGS} -L$PKG/$DESTDIR/gems/$SRCNAM-$VERSION/lib" \ - CPPFLAGS="-I$PKG/$DESTDIR/gems/$SRCNAM-$VERSION/include -L$PKG/$DESTDIR/gems/$SRCNAM-$VERSION/lib" \ - XAPIAN_CONFIG="`pwd`/../xapian-core-$VERSION/xapian-config" \ - ./configure \ - --prefix=$DESTDIR/gems/$SRCNAM-$VERSION \ - --with-ruby \ - --build=$ARCH-slackware-linux || exit - - make - make install DESTDIR=$PKG - - mv $PKG/$DESTDIR/../../site_ruby/*/xapian.rb $PKG/$DESTDIR/gems/$SRCNAM-$VERSION/lib - mv $PKG/$DESTDIR/../../site_ruby/*/*/_xapian.so $PKG/$DESTDIR/gems/$SRCNAM-$VERSION/lib - rm -rf $PKG/$DESTDIR/../../site_ruby -) - -# Don't need this -rm -rf $PKG/$DESTDIR/gems/$SRCNAM-$VERSION/share - -# Strip binaries and libraries. -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/bindings -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/core - -(cd xapian-bindings-$VERSION -cp -a ChangeLog COPYING HACKING INSTALL NEWS README TODO \ - $PKG/usr/doc/$PRGNAM-$VERSION/bindings) -(cd $PKG/$DESTDIR/gems/$SRCNAM-$VERSION/xapian-core-* -cp -a ChangeLog COPYING HACKING INSTALL NEWS README \ - $PKG/usr/doc/$PRGNAM-$VERSION/core) -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc - -cd $PKG -/sbin/makepkg -l y -c y $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/libraries/rubygem-xapian-full/rubygem-xapian-full.info b/libraries/rubygem-xapian-full/rubygem-xapian-full.info deleted file mode 100644 index 9cd93332e8..0000000000 --- a/libraries/rubygem-xapian-full/rubygem-xapian-full.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="rubygem-xapian-full" -VERSION="1.2.3" -HOMEPAGE="http://rubygems.org/gems/xapian-full" -DOWNLOAD="http://rubygems.org/downloads/xapian-full-1.2.3.gem" -MD5SUM="772947e9b6a03f37a00c361ac7492ad6" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -MAINTAINER="Benjamin Trigona-Harany" -EMAIL="bosth@alumni.sfu.ca" -APPROVED="dsomero" diff --git a/libraries/rubygem-xapian-full/slack-desc b/libraries/rubygem-xapian-full/slack-desc deleted file mode 100644 index 87b5fa1943..0000000000 --- a/libraries/rubygem-xapian-full/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -rubygem-xapian-full: rubygem-xapian-full (Xapian bindings) -rubygem-xapian-full: -rubygem-xapian-full: Xapian bindings for Ruby without dependency on the xapian-core (or -rubygem-xapian-full: any other) SlackBuild. -rubygem-xapian-full: -rubygem-xapian-full: -rubygem-xapian-full: -rubygem-xapian-full: -rubygem-xapian-full: -rubygem-xapian-full: -rubygem-xapian-full: diff --git a/network/rubygem-sup/README b/network/rubygem-sup/README deleted file mode 100644 index d5378b82b6..0000000000 --- a/network/rubygem-sup/README +++ /dev/null @@ -1,25 +0,0 @@ -Sup is a console-based email client for people with a lot of email. It -supports tagging, very fast full-text search, automatic contact-list -management, and more. - -Sup makes it easy to: -- Handle massive amounts of email. -- Mix email from different sources: mbox files (even across different - machines), Maildir directories, IMAP folders, POP accounts, and GMail - accounts. -- Instantaneously search over your entire email collection. Search over - body text, or use a query language to combine search predicates in any - way. -- Handle multiple accounts. Replying to email sent to a particular - account will use the correct SMTP server, signature, and from address. -- Add custom code to handle certain types of messages or to handle - certain types of text within messages. -- Organize email with user-defined labels, automatically track recent - contacts, and much more - -This Slackbuild packages a development version of Sup which is patched -to use ncursesw, allowing for Unicode support. - -This requires rubygem-locale, rubygem-gettext, rubygem-highline, -rubygem-lockfile, rubygem-mime-types, rubygem-ncursesw, rubygem-net-ssh, -rubygem-rmail, rubygem-trollop and rubygem-xapian-full. diff --git a/network/rubygem-sup/rubygem-sup.SlackBuild b/network/rubygem-sup/rubygem-sup.SlackBuild deleted file mode 100644 index 839371204e..0000000000 --- a/network/rubygem-sup/rubygem-sup.SlackBuild +++ /dev/null @@ -1,101 +0,0 @@ -#!/bin/sh - -# Script written by Benjamin Trigona-Harany (bosth@alumni.sfu.ca) -# based on rubygem template by vbatts - -PRGNAM=rubygem-sup -VERSION=${VERSION:-0.12.1} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -SRCNAM=sup - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i486 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP - -DESTDIR=$( ruby -r rbconfig -e ' -include RbConfig -printf("%s/%s/gems/%s\n", - CONFIG["libdir"], - CONFIG["RUBY_INSTALL_NAME"], - CONFIG["ruby_version"] - ) -') - -# print a friendly warning of unsatisfied dependencies -gem specification $CWD/$SRCNAM-$VERSION.gem | \ - ruby -r rbconfig -r yaml -e ' -c = Config::CONFIG -path = sprintf("%s/%s/gems/%s", - c["libdir"], - c["RUBY_INSTALL_NAME"], - c["ruby_version"]) -sys_gemspecs = Dir.glob(path + "/specifications/*").map {|g| gs = Gem::Specification.load(g); gs.name } -obj = Gem::Specification.from_yaml($stdin) -obj.dependencies.each {|dep| - if not(dep.type == :runtime) - next - end - if not(sys_gemspecs.include?(dep.name)) - $stderr.write("WARNING: #{dep.name} gem not found\n") - sleep 0.5 - end -}' - - -gem install \ - --local \ - --no-update-sources \ - --ignore-dependencies \ - --backtrace \ - --bindir $PKG/usr/bin \ - --install-dir $PKG/$DESTDIR \ - $CWD/$SRCNAM-$VERSION.gem - -# Strip binaries and libraries. -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - -# Remove cached gem from install -rm -rf $PKG/$DESTDIR/cache - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -tar -x -O --file=$CWD/$SRCNAM-$VERSION.gem data.tar.gz | tar -xz -C $PKG/usr/doc/$PRGNAM-$VERSION --file=- \ - README.txt LICENSE History.txt ReleaseNotes -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/network/rubygem-sup/rubygem-sup.info b/network/rubygem-sup/rubygem-sup.info deleted file mode 100644 index 582a0b694e..0000000000 --- a/network/rubygem-sup/rubygem-sup.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="rubygem-sup" -VERSION="0.12.1" -HOMEPAGE="http://sup.rubyforge.org/" -DOWNLOAD="http://rubygems.org/downloads/sup-0.12.1.gem" -MD5SUM="a96b39cd9e04f6550859b84bbf81e4ad" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -MAINTAINER="Benjamin Trigona-Harany" -EMAIL="bosth@alumni.sfu.ca" -APPROVED="dsomero,Niels Horn" diff --git a/network/rubygem-sup/slack-desc b/network/rubygem-sup/slack-desc deleted file mode 100644 index 85f8b2a480..0000000000 --- a/network/rubygem-sup/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -rubygem-sup: rubygem-sup (CLI mail client) -rubygem-sup: -rubygem-sup: Sup is a mail client for the console which supports tagging, full -rubygem-sup: text search and multiple mail accounts in a variety of formats. -rubygem-sup: -rubygem-sup: -rubygem-sup: -rubygem-sup: -rubygem-sup: -rubygem-sup: -rubygem-sup: diff --git a/ruby/ruby-gtk2/README b/ruby/ruby-gtk2/README new file mode 100644 index 0000000000..739f55c30b --- /dev/null +++ b/ruby/ruby-gtk2/README @@ -0,0 +1,8 @@ +ruby-gtk2 (ruby bindings for gtk2) + +This is a subset of the Ruby-GNOME2 project. Ruby-GNOME2 is a set of +Ruby language bindings for the GNOME 2.0 development environment. +This is the next generation of Ruby-GNOME. + +Included libraries are Ruby/GLib2, Ruby/ATK, Ruby/Pango, Ruby/GdkPixbuf2, +and Ruby/GTK2. diff --git a/ruby/ruby-gtk2/ruby-gtk2.SlackBuild b/ruby/ruby-gtk2/ruby-gtk2.SlackBuild new file mode 100644 index 0000000000..e4f3fcf159 --- /dev/null +++ b/ruby/ruby-gtk2/ruby-gtk2.SlackBuild @@ -0,0 +1,56 @@ +#!/bin/sh + +# Slackware build script for ruby-gtk2 + +# Written by Vincent Batts, vbatts@hashbangbash.com + +PRGNAM=ruby-gtk2 +VERSION=${VERSION:-0.19.3} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +# Automatically determine the architecture we're building on: +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + # Unless $ARCH is already set, use uname -m for all other archs: + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ + -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ + -exec chmod 644 {} \; + +ruby extconf.rb +make +make install DESTDIR=$PKG + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + AUTHORS COPYING.LIB ChangeLog NEWS README \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/ruby/ruby-gtk2/ruby-gtk2.info b/ruby/ruby-gtk2/ruby-gtk2.info new file mode 100644 index 0000000000..43cec1c97e --- /dev/null +++ b/ruby/ruby-gtk2/ruby-gtk2.info @@ -0,0 +1,10 @@ +PRGNAM="ruby-gtk2" +VERSION="0.19.3" +HOMEPAGE="http://ruby-gnome2.sourceforge.jp/" +DOWNLOAD="http://downloads.sourceforge.net/sourceforge/ruby-gnome2/ruby-gtk2-0.19.3.tar.gz" +MD5SUM="a8f8dac03008d7c6397a3fe225ef5929" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Vincent Batts" +EMAIL="vbatts@hashbangbash.com" +APPROVED="rworkman" diff --git a/ruby/ruby-gtk2/slack-desc b/ruby/ruby-gtk2/slack-desc new file mode 100644 index 0000000000..b3387142ef --- /dev/null +++ b/ruby/ruby-gtk2/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| +ruby-gtk2: ruby-gtk2 (ruby bindings for gtk2) +ruby-gtk2: +ruby-gtk2: This is a subset of the Ruby-GNOME2 project. Ruby-GNOME2 is a set of +ruby-gtk2: Ruby language bindings for the GNOME 2.0 development environment. +ruby-gtk2: +ruby-gtk2: This is the next generation of Ruby-GNOME. +ruby-gtk2: +ruby-gtk2: Homepage: http://ruby-gnome2.sourceforge.jp/ +ruby-gtk2: +ruby-gtk2: +ruby-gtk2: diff --git a/ruby/rubygem-gettext/README b/ruby/rubygem-gettext/README new file mode 100644 index 0000000000..2e1ca6eab9 --- /dev/null +++ b/ruby/rubygem-gettext/README @@ -0,0 +1,4 @@ +Rubygem-gettext is a GNU GetText-like program for Ruby. The catalog file +(po-file) uses the same format as GNU GetText. + +This requires rubygem-locale. diff --git a/ruby/rubygem-gettext/rubygem-gettext.SlackBuild b/ruby/rubygem-gettext/rubygem-gettext.SlackBuild new file mode 100644 index 0000000000..8d49c5db0d --- /dev/null +++ b/ruby/rubygem-gettext/rubygem-gettext.SlackBuild @@ -0,0 +1,99 @@ +#!/bin/sh + +# Script written by Benjamin Trigona-Harany (bosth@alumni.sfu.ca) +# based on rubygem template by vbatts + +PRGNAM=rubygem-gettext +VERSION=${VERSION:-2.1.0} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRCNAM=gettext + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP + +DESTDIR=$( ruby -r rbconfig -e ' +include RbConfig +printf("%s/%s/gems/%s\n", + CONFIG["libdir"], + CONFIG["RUBY_INSTALL_NAME"], + CONFIG["ruby_version"] + ) +') + +# print a friendly warning of unsatisfied dependencies +gem specification $CWD/$SRCNAM-$VERSION.gem | \ + ruby -r yaml -r rbconfig -e ' +c = Config::CONFIG +path = sprintf("%s/%s/gems/%s", + c["libdir"], + c["RUBY_INSTALL_NAME"], + c["ruby_version"]) +sys_gemspecs = Dir.glob(path + "/specifications/*").map {|g| gs = Gem::Specification.load(g); gs.name } +obj = Gem::Specification.from_yaml($stdin) +obj.dependencies.each {|dep| + if not(dep.type == :runtime) + next + end + if not(sys_gemspecs.include?(dep.name)) + $stderr.write("WARNING: #{dep.name} gem not found\n") + sleep 0.5 + end +}' + +gem install \ + --local \ + --no-update-sources \ + --ignore-dependencies \ + --backtrace \ + --install-dir $PKG/$DESTDIR \ + $CWD/$SRCNAM-$VERSION.gem + +# Strip binaries and libraries. +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +# Remove cached gem from install +rm -rf $PKG/$DESTDIR/cache + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +tar -x -O --file=$CWD/$SRCNAM-$VERSION.gem data.tar.gz | tar -xz -C $PKG/usr/doc/$PRGNAM-$VERSION --file=- \ + COPYING ChangeLog NEWS-1 README.rdoc +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/ruby/rubygem-gettext/rubygem-gettext.info b/ruby/rubygem-gettext/rubygem-gettext.info new file mode 100644 index 0000000000..6be0a82d35 --- /dev/null +++ b/ruby/rubygem-gettext/rubygem-gettext.info @@ -0,0 +1,10 @@ +PRGNAM="rubygem-gettext" +VERSION="2.1.0" +HOMEPAGE="http://www.yotabanana.com/hiki/ruby-gettext.html" +DOWNLOAD="http://rubygems.org/downloads/gettext-2.1.0.gem" +MD5SUM="5b6fc788ca241aeb5997c4081cbb311d" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Benjamin Trigona-Harany" +EMAIL="bosth@alumni.sfu.ca" +APPROVED="dsomero" diff --git a/ruby/rubygem-gettext/slack-desc b/ruby/rubygem-gettext/slack-desc new file mode 100644 index 0000000000..e4ca3365ba --- /dev/null +++ b/ruby/rubygem-gettext/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +rubygem-gettext: rubygem-gettext (gettext for ruby) +rubygem-gettext: +rubygem-gettext: Ruby-GetText is a GNU GetText-like program for Ruby. +rubygem-gettext: +rubygem-gettext: +rubygem-gettext: +rubygem-gettext: +rubygem-gettext: +rubygem-gettext: +rubygem-gettext: +rubygem-gettext: diff --git a/ruby/rubygem-highline/README b/ruby/rubygem-highline/README new file mode 100644 index 0000000000..04cdaac4a1 --- /dev/null +++ b/ruby/rubygem-highline/README @@ -0,0 +1,7 @@ +HighLine is a Ruby Gem designed to ease the tasks of doing console +input and output with low-level methods like gets() and puts(). +HighLine provides a robust system for requesting data from a user, +without needing to code all the error checking and validation rules and +without needing to convert the typed Strings into what your program +really needs. Just tell HighLine what you're after, and let it do +all the work. diff --git a/ruby/rubygem-highline/rubygem-highline.SlackBuild b/ruby/rubygem-highline/rubygem-highline.SlackBuild new file mode 100644 index 0000000000..0aba1771e6 --- /dev/null +++ b/ruby/rubygem-highline/rubygem-highline.SlackBuild @@ -0,0 +1,99 @@ +#!/bin/sh + +# Script written by Benjamin Trigona-Harany (bosth@alumni.sfu.ca) +# based on rubygem template by vbatts + +PRGNAM=rubygem-highline +VERSION=${VERSION:-1.6.1} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRCNAM=highline + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP + +DESTDIR=$( ruby -r rbconfig -e ' +include RbConfig +printf("%s/%s/gems/%s\n", + CONFIG["libdir"], + CONFIG["RUBY_INSTALL_NAME"], + CONFIG["ruby_version"] + ) +') + +# print a friendly warning of unsatisfied dependencies +gem specification $CWD/$SRCNAM-$VERSION.gem | \ + ruby -r yaml -r rbconfig -e ' +c = Config::CONFIG +path = sprintf("%s/%s/gems/%s", + c["libdir"], + c["RUBY_INSTALL_NAME"], + c["ruby_version"]) +sys_gemspecs = Dir.glob(path + "/specifications/*").map {|g| gs = Gem::Specification.load(g); gs.name } +obj = Gem::Specification.from_yaml($stdin) +obj.dependencies.each {|dep| + if not(dep.type == :runtime) + next + end + if not(sys_gemspecs.include?(dep.name)) + $stderr.write("WARNING: #{dep.name} gem not found\n") + sleep 0.5 + end +}' + +gem install \ + --local \ + --no-update-sources \ + --ignore-dependencies \ + --backtrace \ + --install-dir $PKG/$DESTDIR \ + $CWD/$SRCNAM-$VERSION.gem + +# Strip binaries and libraries. +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +# Remove cached gem from install +rm -rf $PKG/$DESTDIR/cache + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +tar -x -O --file=$CWD/$SRCNAM-$VERSION.gem data.tar.gz | tar -xz -C $PKG/usr/doc/$PRGNAM-$VERSION --file=- \ + CHANGELOG INSTALL LICENSE README TODO +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/ruby/rubygem-highline/rubygem-highline.info b/ruby/rubygem-highline/rubygem-highline.info new file mode 100644 index 0000000000..c28301a99b --- /dev/null +++ b/ruby/rubygem-highline/rubygem-highline.info @@ -0,0 +1,10 @@ +PRGNAM="rubygem-highline" +VERSION="1.6.1" +HOMEPAGE="http://highline.rubyforge.org/" +DOWNLOAD="http://rubygems.org/downloads/highline-1.6.1.gem" +MD5SUM="7df5009f04255c573751661bc58459f8" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Benjamin Trigona-Harany" +EMAIL="bosth@alumni.sfu.ca" +APPROVED="dsomero" diff --git a/ruby/rubygem-highline/slack-desc b/ruby/rubygem-highline/slack-desc new file mode 100644 index 0000000000..0fad89ef8c --- /dev/null +++ b/ruby/rubygem-highline/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +rubygem-highline: rubygem-highline (ruby console input library) +rubygem-highline: +rubygem-highline: HighLine is a Ruby Gem designed to ease the tasks of doing console +rubygem-highline: input and output with low-level methods like gets() and puts(). +rubygem-highline: HighLine provides a robust system for requesting data from a user, +rubygem-highline: without needing to code all the error checking and validation rules +rubygem-highline: and without needing to convert the typed strings into what your +rubygem-highline: program really needs. +rubygem-highline: +rubygem-highline: +rubygem-highline: diff --git a/ruby/rubygem-locale/README b/ruby/rubygem-locale/README new file mode 100644 index 0000000000..9cea5089cf --- /dev/null +++ b/ruby/rubygem-locale/README @@ -0,0 +1,2 @@ +Ruby-Locale is the pure ruby library which provides basic APIs for +localization. diff --git a/ruby/rubygem-locale/rubygem-locale.SlackBuild b/ruby/rubygem-locale/rubygem-locale.SlackBuild new file mode 100644 index 0000000000..3bfc52f257 --- /dev/null +++ b/ruby/rubygem-locale/rubygem-locale.SlackBuild @@ -0,0 +1,99 @@ +#!/bin/sh + +# Script written by Benjamin Trigona-Harany (bosth@alumni.sfu.ca) +# based on rubygem template by vbatts + +PRGNAM=rubygem-locale +VERSION=${VERSION:-2.0.5} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRCNAM=locale + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP + +DESTDIR=$( ruby -r rbconfig -e ' +include RbConfig +printf("%s/%s/gems/%s\n", + CONFIG["libdir"], + CONFIG["RUBY_INSTALL_NAME"], + CONFIG["ruby_version"] + ) +') + +# print a friendly warning of unsatisfied dependencies +gem specification $CWD/$SRCNAM-$VERSION.gem | \ + ruby -r yaml -r rbconfig -e ' +c = Config::CONFIG +path = sprintf("%s/%s/gems/%s", + c["libdir"], + c["RUBY_INSTALL_NAME"], + c["ruby_version"]) +sys_gemspecs = Dir.glob(path + "/specifications/*").map {|g| gs = Gem::Specification.load(g); gs.name } +obj = Gem::Specification.from_yaml($stdin) +obj.dependencies.each {|dep| + if not(dep.type == :runtime) + next + end + if not(sys_gemspecs.include?(dep.name)) + $stderr.write("WARNING: #{dep.name} gem not found\n") + sleep 0.5 + end +}' + +gem install \ + --local \ + --no-update-sources \ + --ignore-dependencies \ + --backtrace \ + --install-dir $PKG/$DESTDIR \ + $CWD/$SRCNAM-$VERSION.gem + +# Strip binaries and libraries. +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +# Remove cached gem from install +rm -rf $PKG/$DESTDIR/cache + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +tar -x -O --file=$CWD/$SRCNAM-$VERSION.gem data.tar.gz | tar -xz -C $PKG/usr/doc/$PRGNAM-$VERSION --file=- \ + ChangeLog COPYING +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/ruby/rubygem-locale/rubygem-locale.info b/ruby/rubygem-locale/rubygem-locale.info new file mode 100644 index 0000000000..ea6a359dcc --- /dev/null +++ b/ruby/rubygem-locale/rubygem-locale.info @@ -0,0 +1,10 @@ +PRGNAM="rubygem-locale" +VERSION="2.0.5" +HOMEPAGE="http://locale.rubyforge.org/" +DOWNLOAD="http://rubygems.org/downloads/locale-2.0.5.gem" +MD5SUM="90d530335d0210f8e58c2bad95003951" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Benjamin Trigona-Harany" +EMAIL="bosth@alumni.sfu.ca" +APPROVED="dsomero" diff --git a/ruby/rubygem-locale/slack-desc b/ruby/rubygem-locale/slack-desc new file mode 100644 index 0000000000..53d971c8b5 --- /dev/null +++ b/ruby/rubygem-locale/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +rubygem-locale: rubygem-locale (localisation API for Ruby) +rubygem-locale: +rubygem-locale: Rubygem of the pure ruby library which provides basic APIs for +rubygem-locale: localisation. +rubygem-locale: +rubygem-locale: +rubygem-locale: +rubygem-locale: +rubygem-locale: +rubygem-locale: +rubygem-locale: diff --git a/ruby/rubygem-lockfile/README b/ruby/rubygem-lockfile/README new file mode 100644 index 0000000000..c4a7ebd72a --- /dev/null +++ b/ruby/rubygem-lockfile/README @@ -0,0 +1 @@ +Rubygem package for creating lockfiles under Ruby. diff --git a/ruby/rubygem-lockfile/rubygem-lockfile.SlackBuild b/ruby/rubygem-lockfile/rubygem-lockfile.SlackBuild new file mode 100644 index 0000000000..72581961dd --- /dev/null +++ b/ruby/rubygem-lockfile/rubygem-lockfile.SlackBuild @@ -0,0 +1,99 @@ +#!/bin/sh + +# Script written by Benjamin Trigona-Harany (bosth@alumni.sfu.ca) +# based on rubygem template by vbatts + +PRGNAM=rubygem-lockfile +VERSION=${VERSION:-1.4.3} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRCNAM=lockfile + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP + +DESTDIR=$( ruby -r rbconfig -e ' +include RbConfig +printf("%s/%s/gems/%s\n", + CONFIG["libdir"], + CONFIG["RUBY_INSTALL_NAME"], + CONFIG["ruby_version"] + ) +') + +# print a friendly warning of unsatisfied dependencies +gem specification $CWD/$SRCNAM-$VERSION.gem | \ + ruby -r yaml -r rbconfig -e ' +c = Config::CONFIG +path = sprintf("%s/%s/gems/%s", + c["libdir"], + c["RUBY_INSTALL_NAME"], + c["ruby_version"]) +sys_gemspecs = Dir.glob(path + "/specifications/*").map {|g| gs = Gem::Specification.load(g); gs.name } +obj = Gem::Specification.from_yaml($stdin) +obj.dependencies.each {|dep| + if not(dep.type == :runtime) + next + end + if not(sys_gemspecs.include?(dep.name)) + $stderr.write("WARNING: #{dep.name} gem not found\n") + sleep 0.5 + end +}' + +gem install \ + --local \ + --no-update-sources \ + --ignore-dependencies \ + --backtrace \ + --install-dir $PKG/$DESTDIR \ + $CWD/$SRCNAM-$VERSION.gem + +# Strip binaries and libraries. +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +# Remove cached gem from install +rm -rf $PKG/$DESTDIR/cache + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +tar -x -O --file=$CWD/$SRCNAM-$VERSION.gem data.tar.gz | tar -xz -C $PKG/usr/doc/$PRGNAM-$VERSION --file=- \ + README +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/ruby/rubygem-lockfile/rubygem-lockfile.info b/ruby/rubygem-lockfile/rubygem-lockfile.info new file mode 100644 index 0000000000..1aa400d15b --- /dev/null +++ b/ruby/rubygem-lockfile/rubygem-lockfile.info @@ -0,0 +1,10 @@ +PRGNAM="rubygem-lockfile" +VERSION="1.4.3" +HOMEPAGE="http://rubygems.org/gems/lockfile" +DOWNLOAD="http://rubygems.org/downloads/lockfile-1.4.3.gem" +MD5SUM="53a63206bbaefb7106db5a74a5adf148" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Benjamin Trigona-Harany" +EMAIL="bosth@alumni.sfu.ca" +APPROVED="dsomero" diff --git a/ruby/rubygem-lockfile/slack-desc b/ruby/rubygem-lockfile/slack-desc new file mode 100644 index 0000000000..c33e1f136f --- /dev/null +++ b/ruby/rubygem-lockfile/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +rubygem-lockfile: rubygem-lockfile (Ruby lockfiles) +rubygem-lockfile: +rubygem-lockfile: Rubygem for creating lockfiles under ruby. +rubygem-lockfile: +rubygem-lockfile: +rubygem-lockfile: +rubygem-lockfile: +rubygem-lockfile: +rubygem-lockfile: +rubygem-lockfile: +rubygem-lockfile: diff --git a/ruby/rubygem-mime-types/README b/ruby/rubygem-mime-types/README new file mode 100644 index 0000000000..3386d7c796 --- /dev/null +++ b/ruby/rubygem-mime-types/README @@ -0,0 +1,3 @@ +This library allows for the identification of a file's likely MIME +content type. The identification of MIME content type is based on a +file's filename extensions. diff --git a/ruby/rubygem-mime-types/rubygem-mime-types.SlackBuild b/ruby/rubygem-mime-types/rubygem-mime-types.SlackBuild new file mode 100644 index 0000000000..eb01209dd8 --- /dev/null +++ b/ruby/rubygem-mime-types/rubygem-mime-types.SlackBuild @@ -0,0 +1,99 @@ +#!/bin/sh + +# Script written by Benjamin Trigona-Harany (bosth@alumni.sfu.ca) +# based on rubygem template by vbatts + +PRGNAM=rubygem-mime-types +VERSION=${VERSION:-1.16} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRCNAM=mime-types + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP + +DESTDIR=$( ruby -r rbconfig -e ' +include RbConfig +printf("%s/%s/gems/%s\n", + CONFIG["libdir"], + CONFIG["RUBY_INSTALL_NAME"], + CONFIG["ruby_version"] + ) +') + +# print a friendly warning of unsatisfied dependencies +gem specification $CWD/$SRCNAM-$VERSION.gem | \ + ruby -r yaml -r rbconfig -e ' +c = Config::CONFIG +path = sprintf("%s/%s/gems/%s", + c["libdir"], + c["RUBY_INSTALL_NAME"], + c["ruby_version"]) +sys_gemspecs = Dir.glob(path + "/specifications/*").map {|g| gs = Gem::Specification.load(g); gs.name } +obj = Gem::Specification.from_yaml($stdin) +obj.dependencies.each {|dep| + if not(dep.type == :runtime) + next + end + if not(sys_gemspecs.include?(dep.name)) + $stderr.write("WARNING: #{dep.name} gem not found\n") + sleep 0.5 + end +}' + +gem install \ + --local \ + --no-update-sources \ + --ignore-dependencies \ + --backtrace \ + --install-dir $PKG/$DESTDIR \ + $CWD/$SRCNAM-$VERSION.gem + +# Strip binaries and libraries. +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +# Remove cached gem from install +rm -rf $PKG/$DESTDIR/cache + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +tar -x -O --file=$CWD/$SRCNAM-$VERSION.gem data.tar.gz | tar -xz -C $PKG/usr/doc/$PRGNAM-$VERSION --file=- \ + README.txt Install.txt History.txt Licence.txt +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/ruby/rubygem-mime-types/rubygem-mime-types.info b/ruby/rubygem-mime-types/rubygem-mime-types.info new file mode 100644 index 0000000000..e1bdb2b2e3 --- /dev/null +++ b/ruby/rubygem-mime-types/rubygem-mime-types.info @@ -0,0 +1,10 @@ +PRGNAM="rubygem-mime-types" +VERSION="1.16" +HOMEPAGE="http://mime-types.rubyforge.org" +DOWNLOAD="http://rubygems.org/downloads/mime-types-1.16.gem" +MD5SUM="2c9b8568a76cc632578a292db4a71b9a" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Benjamin Trigona-Harany" +EMAIL="bosth@alumni.sfu.ca" +APPROVED="dsomero" diff --git a/ruby/rubygem-mime-types/slack-desc b/ruby/rubygem-mime-types/slack-desc new file mode 100644 index 0000000000..8cd146c29e --- /dev/null +++ b/ruby/rubygem-mime-types/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +rubygem-mime-types: rubygem-mime-types (mime-types) +rubygem-mime-types: +rubygem-mime-types: This library allows for the identification of a file's likely MIME +rubygem-mime-types: content type. The identification of MIME content type is based on a +rubygem-mime-types: file's filename extensions. +rubygem-mime-types: +rubygem-mime-types: +rubygem-mime-types: +rubygem-mime-types: +rubygem-mime-types: +rubygem-mime-types: diff --git a/ruby/rubygem-ncursesw/README b/ruby/rubygem-ncursesw/README new file mode 100644 index 0000000000..4f45455a9a --- /dev/null +++ b/ruby/rubygem-ncursesw/README @@ -0,0 +1,3 @@ +This ruby extension makes most functions, constants, and external +variables of the C library ncurses accessible from the Ruby programming +language. This implementation has wide character support. diff --git a/ruby/rubygem-ncursesw/rubygem-ncursesw.SlackBuild b/ruby/rubygem-ncursesw/rubygem-ncursesw.SlackBuild new file mode 100644 index 0000000000..df14e2ab86 --- /dev/null +++ b/ruby/rubygem-ncursesw/rubygem-ncursesw.SlackBuild @@ -0,0 +1,99 @@ +#!/bin/sh + +# Script written by Benjamin Trigona-Harany (bosth@alumni.sfu.ca) +# based on rubygem template by vbatts + +PRGNAM=rubygem-ncursesw +VERSION=${VERSION:-1.2.4.2} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRCNAM=ncursesw + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP + +DESTDIR=$( ruby -r rbconfig -e ' +include RbConfig +printf("%s/%s/gems/%s\n", + CONFIG["libdir"], + CONFIG["RUBY_INSTALL_NAME"], + CONFIG["ruby_version"] + ) +') + +# print a friendly warning of unsatisfied dependencies +gem specification $CWD/$SRCNAM-$VERSION.gem | \ + ruby -r yaml -r rbconfig -e ' +c = Config::CONFIG +path = sprintf("%s/%s/gems/%s", + c["libdir"], + c["RUBY_INSTALL_NAME"], + c["ruby_version"]) +sys_gemspecs = Dir.glob(path + "/specifications/*").map {|g| gs = Gem::Specification.load(g); gs.name } +obj = Gem::Specification.from_yaml($stdin) +obj.dependencies.each {|dep| + if not(dep.type == :runtime) + next + end + if not(sys_gemspecs.include?(dep.name)) + $stderr.write("WARNING: #{dep.name} gem not found\n") + sleep 0.5 + end +}' + +gem install \ + --local \ + --no-update-sources \ + --ignore-dependencies \ + --backtrace \ + --install-dir $PKG/$DESTDIR \ + $CWD/$SRCNAM-$VERSION.gem + +# Strip binaries and libraries. +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +# Remove cached gem from install +rm -rf $PKG/$DESTDIR/cache + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +tar -x -O --file=$CWD/$SRCNAM-$VERSION.gem data.tar.gz | tar -xz -C $PKG/usr/doc/$PRGNAM-$VERSION --file=- \ + COPYING Changes README THANKS TODO +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/ruby/rubygem-ncursesw/rubygem-ncursesw.info b/ruby/rubygem-ncursesw/rubygem-ncursesw.info new file mode 100644 index 0000000000..3f6fba9d79 --- /dev/null +++ b/ruby/rubygem-ncursesw/rubygem-ncursesw.info @@ -0,0 +1,10 @@ +PRGNAM="rubygem-ncursesw" +VERSION="1.2.4.2" +HOMEPAGE="http://ncurses-ruby.berlios.de" +DOWNLOAD="http://rubygems.org/downloads/ncursesw-1.2.4.2.gem" +MD5SUM="07530a297ce1b7d7a18f4f416e941f98" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Benjamin Trigona-Harany" +EMAIL="bosth@alumni.sfu.ca" +APPROVED="dsomero" diff --git a/ruby/rubygem-ncursesw/slack-desc b/ruby/rubygem-ncursesw/slack-desc new file mode 100644 index 0000000000..e79a88ee79 --- /dev/null +++ b/ruby/rubygem-ncursesw/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +rubygem-ncursesw: rubygem-ncursesw (ncurses library with wide-char support) +rubygem-ncursesw: +rubygem-ncursesw: This ruby extension makes most functions, constants, and external +rubygem-ncursesw: variables of the C library ncurses accessible from the Ruby +rubygem-ncursesw: programming language. +rubygem-ncursesw: +rubygem-ncursesw: This implementation supports wide characters. +rubygem-ncursesw: +rubygem-ncursesw: +rubygem-ncursesw: +rubygem-ncursesw: diff --git a/ruby/rubygem-net-ssh/README b/ruby/rubygem-net-ssh/README new file mode 100644 index 0000000000..0d867380a6 --- /dev/null +++ b/ruby/rubygem-net-ssh/README @@ -0,0 +1 @@ +Net-ssh is a pure-Ruby implementation of the SSH2 client protocol. diff --git a/ruby/rubygem-net-ssh/rubygem-net-ssh.SlackBuild b/ruby/rubygem-net-ssh/rubygem-net-ssh.SlackBuild new file mode 100644 index 0000000000..bf7c6c20b7 --- /dev/null +++ b/ruby/rubygem-net-ssh/rubygem-net-ssh.SlackBuild @@ -0,0 +1,99 @@ +#!/bin/sh + +# Script written by Benjamin Trigona-Harany (bosth@alumni.sfu.ca) +# based on rubygem template by vbatts + +PRGNAM=rubygem-net-ssh +VERSION=${VERSION:-2.0.23} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRCNAM=net-ssh + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP + +DESTDIR=$( ruby -r rbconfig -e ' +include RbConfig +printf("%s/%s/gems/%s\n", + CONFIG["libdir"], + CONFIG["RUBY_INSTALL_NAME"], + CONFIG["ruby_version"] + ) +') + +# print a friendly warning of unsatisfied dependencies +gem specification $CWD/$SRCNAM-$VERSION.gem | \ + ruby -r yaml -r rbconfig -e ' +c = Config::CONFIG +path = sprintf("%s/%s/gems/%s", + c["libdir"], + c["RUBY_INSTALL_NAME"], + c["ruby_version"]) +sys_gemspecs = Dir.glob(path + "/specifications/*").map {|g| gs = Gem::Specification.load(g); gs.name } +obj = Gem::Specification.from_yaml($stdin) +obj.dependencies.each {|dep| + if not(dep.type == :runtime) + next + end + if not(sys_gemspecs.include?(dep.name)) + $stderr.write("WARNING: #{dep.name} gem not found\n") + sleep 0.5 + end +}' + +gem install \ + --local \ + --no-update-sources \ + --ignore-dependencies \ + --backtrace \ + --install-dir $PKG/$DESTDIR \ + $CWD/$SRCNAM-$VERSION.gem + +# Strip binaries and libraries. +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +# Remove cached gem from install +rm -rf $PKG/$DESTDIR/cache + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +tar -x -O --file=$CWD/$SRCNAM-$VERSION.gem data.tar.gz | tar -xz -C $PKG/usr/doc/$PRGNAM-$VERSION --file=- \ + README.rdoc +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/ruby/rubygem-net-ssh/rubygem-net-ssh.info b/ruby/rubygem-net-ssh/rubygem-net-ssh.info new file mode 100644 index 0000000000..0d21f29c06 --- /dev/null +++ b/ruby/rubygem-net-ssh/rubygem-net-ssh.info @@ -0,0 +1,10 @@ +PRGNAM="rubygem-net-ssh" +VERSION="2.0.23" +HOMEPAGE="http://github.com/net-ssh/net-ssh" +DOWNLOAD="http://rubygems.org/downloads/net-ssh-2.0.23.gem" +MD5SUM="14d51aab0ac31f2af9646236a6af848e" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Benjamin Trigona-Harany" +EMAIL="bosth@alumni.sfu.ca" +APPROVED="dsomero" diff --git a/ruby/rubygem-net-ssh/slack-desc b/ruby/rubygem-net-ssh/slack-desc new file mode 100644 index 0000000000..b74dc78d89 --- /dev/null +++ b/ruby/rubygem-net-ssh/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +rubygem-net-ssh: rubygem-net-ssh (ruby implementation of ssh2) +rubygem-net-ssh: +rubygem-net-ssh: A pure Ruby implementation of the ssh2 client protocol. +rubygem-net-ssh: +rubygem-net-ssh: +rubygem-net-ssh: +rubygem-net-ssh: +rubygem-net-ssh: +rubygem-net-ssh: +rubygem-net-ssh: +rubygem-net-ssh: diff --git a/ruby/rubygem-rmail/README b/ruby/rubygem-rmail/README new file mode 100644 index 0000000000..c4e9601543 --- /dev/null +++ b/ruby/rubygem-rmail/README @@ -0,0 +1,3 @@ +RMail is a lightweight mail library containing various utility classes +and modules that allow ruby scripts to parse, modify, and generate +MIME mail messages. diff --git a/ruby/rubygem-rmail/rubygem-rmail.SlackBuild b/ruby/rubygem-rmail/rubygem-rmail.SlackBuild new file mode 100644 index 0000000000..fc7119278c --- /dev/null +++ b/ruby/rubygem-rmail/rubygem-rmail.SlackBuild @@ -0,0 +1,99 @@ +#!/bin/sh + +# Script written by Benjamin Trigona-Harany (bosth@alumni.sfu.ca) +# based on rubygem template by vbatts + +PRGNAM=rubygem-rmail +VERSION=${VERSION:-1.0.0} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRCNAM=rmail + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP + +DESTDIR=$( ruby -r rbconfig -e ' +include RbConfig +printf("%s/%s/gems/%s\n", + CONFIG["libdir"], + CONFIG["RUBY_INSTALL_NAME"], + CONFIG["ruby_version"] + ) +') + +# print a friendly warning of unsatisfied dependencies +gem specification $CWD/$SRCNAM-$VERSION.gem | \ + ruby -r yaml -r rbconfig -e ' +c = Config::CONFIG +path = sprintf("%s/%s/gems/%s", + c["libdir"], + c["RUBY_INSTALL_NAME"], + c["ruby_version"]) +sys_gemspecs = Dir.glob(path + "/specifications/*").map {|g| gs = Gem::Specification.load(g); gs.name } +obj = Gem::Specification.from_yaml($stdin) +obj.dependencies.each {|dep| + if not(dep.type == :runtime) + next + end + if not(sys_gemspecs.include?(dep.name)) + $stderr.write("WARNING: #{dep.name} gem not found\n") + sleep 0.5 + end +}' + +gem install \ + --local \ + --no-update-sources \ + --ignore-dependencies \ + --backtrace \ + --install-dir $PKG/$DESTDIR \ + $CWD/$SRCNAM-$VERSION.gem + +# Strip binaries and libraries. +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +# Remove cached gem from install +rm -rf $PKG/$DESTDIR/cache + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +tar -x -O --file=$CWD/$SRCNAM-$VERSION.gem data.tar.gz | tar -xz -C $PKG/usr/doc/$PRGNAM-$VERSION --file=- \ + NEWS NOTES README TODO +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/ruby/rubygem-rmail/rubygem-rmail.info b/ruby/rubygem-rmail/rubygem-rmail.info new file mode 100644 index 0000000000..a1ed9a93bd --- /dev/null +++ b/ruby/rubygem-rmail/rubygem-rmail.info @@ -0,0 +1,10 @@ +PRGNAM="rubygem-rmail" +VERSION="1.0.0" +HOMEPAGE="http://www.rfc20.org/rubymail" +DOWNLOAD="http://rubygems.org/downloads/rmail-1.0.0.gem" +MD5SUM="c94a6595a71aec61da5723699caea38c" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Benjamin Trigona-Harany" +EMAIL="bosth@alumni.sfu.ca" +APPROVED="dsomero" diff --git a/ruby/rubygem-rmail/slack-desc b/ruby/rubygem-rmail/slack-desc new file mode 100644 index 0000000000..34d160117d --- /dev/null +++ b/ruby/rubygem-rmail/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +rubygem-rmail: rubygem-rmail (mail library for Ruby) +rubygem-rmail: +rubygem-rmail: RMail is a lightweight mail library containing various utility +rubygem-rmail: classes and modules that allow ruby scripts to parse, modify, and +rubygem-rmail: generate MIME mail messages. +rubygem-rmail: +rubygem-rmail: +rubygem-rmail: +rubygem-rmail: +rubygem-rmail: +rubygem-rmail: diff --git a/ruby/rubygem-sup/README b/ruby/rubygem-sup/README new file mode 100644 index 0000000000..d5378b82b6 --- /dev/null +++ b/ruby/rubygem-sup/README @@ -0,0 +1,25 @@ +Sup is a console-based email client for people with a lot of email. It +supports tagging, very fast full-text search, automatic contact-list +management, and more. + +Sup makes it easy to: +- Handle massive amounts of email. +- Mix email from different sources: mbox files (even across different + machines), Maildir directories, IMAP folders, POP accounts, and GMail + accounts. +- Instantaneously search over your entire email collection. Search over + body text, or use a query language to combine search predicates in any + way. +- Handle multiple accounts. Replying to email sent to a particular + account will use the correct SMTP server, signature, and from address. +- Add custom code to handle certain types of messages or to handle + certain types of text within messages. +- Organize email with user-defined labels, automatically track recent + contacts, and much more + +This Slackbuild packages a development version of Sup which is patched +to use ncursesw, allowing for Unicode support. + +This requires rubygem-locale, rubygem-gettext, rubygem-highline, +rubygem-lockfile, rubygem-mime-types, rubygem-ncursesw, rubygem-net-ssh, +rubygem-rmail, rubygem-trollop and rubygem-xapian-full. diff --git a/ruby/rubygem-sup/rubygem-sup.SlackBuild b/ruby/rubygem-sup/rubygem-sup.SlackBuild new file mode 100644 index 0000000000..839371204e --- /dev/null +++ b/ruby/rubygem-sup/rubygem-sup.SlackBuild @@ -0,0 +1,101 @@ +#!/bin/sh + +# Script written by Benjamin Trigona-Harany (bosth@alumni.sfu.ca) +# based on rubygem template by vbatts + +PRGNAM=rubygem-sup +VERSION=${VERSION:-0.12.1} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRCNAM=sup + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP + +DESTDIR=$( ruby -r rbconfig -e ' +include RbConfig +printf("%s/%s/gems/%s\n", + CONFIG["libdir"], + CONFIG["RUBY_INSTALL_NAME"], + CONFIG["ruby_version"] + ) +') + +# print a friendly warning of unsatisfied dependencies +gem specification $CWD/$SRCNAM-$VERSION.gem | \ + ruby -r rbconfig -r yaml -e ' +c = Config::CONFIG +path = sprintf("%s/%s/gems/%s", + c["libdir"], + c["RUBY_INSTALL_NAME"], + c["ruby_version"]) +sys_gemspecs = Dir.glob(path + "/specifications/*").map {|g| gs = Gem::Specification.load(g); gs.name } +obj = Gem::Specification.from_yaml($stdin) +obj.dependencies.each {|dep| + if not(dep.type == :runtime) + next + end + if not(sys_gemspecs.include?(dep.name)) + $stderr.write("WARNING: #{dep.name} gem not found\n") + sleep 0.5 + end +}' + + +gem install \ + --local \ + --no-update-sources \ + --ignore-dependencies \ + --backtrace \ + --bindir $PKG/usr/bin \ + --install-dir $PKG/$DESTDIR \ + $CWD/$SRCNAM-$VERSION.gem + +# Strip binaries and libraries. +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +# Remove cached gem from install +rm -rf $PKG/$DESTDIR/cache + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +tar -x -O --file=$CWD/$SRCNAM-$VERSION.gem data.tar.gz | tar -xz -C $PKG/usr/doc/$PRGNAM-$VERSION --file=- \ + README.txt LICENSE History.txt ReleaseNotes +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/ruby/rubygem-sup/rubygem-sup.info b/ruby/rubygem-sup/rubygem-sup.info new file mode 100644 index 0000000000..582a0b694e --- /dev/null +++ b/ruby/rubygem-sup/rubygem-sup.info @@ -0,0 +1,10 @@ +PRGNAM="rubygem-sup" +VERSION="0.12.1" +HOMEPAGE="http://sup.rubyforge.org/" +DOWNLOAD="http://rubygems.org/downloads/sup-0.12.1.gem" +MD5SUM="a96b39cd9e04f6550859b84bbf81e4ad" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Benjamin Trigona-Harany" +EMAIL="bosth@alumni.sfu.ca" +APPROVED="dsomero,Niels Horn" diff --git a/ruby/rubygem-sup/slack-desc b/ruby/rubygem-sup/slack-desc new file mode 100644 index 0000000000..85f8b2a480 --- /dev/null +++ b/ruby/rubygem-sup/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| +rubygem-sup: rubygem-sup (CLI mail client) +rubygem-sup: +rubygem-sup: Sup is a mail client for the console which supports tagging, full +rubygem-sup: text search and multiple mail accounts in a variety of formats. +rubygem-sup: +rubygem-sup: +rubygem-sup: +rubygem-sup: +rubygem-sup: +rubygem-sup: +rubygem-sup: diff --git a/ruby/rubygem-trollop/README b/ruby/rubygem-trollop/README new file mode 100644 index 0000000000..f12d071998 --- /dev/null +++ b/ruby/rubygem-trollop/README @@ -0,0 +1,5 @@ +Trollop is a commandline option parser for Ruby that just gets out of +your way. One line of code per option is all you need to write. For +that, you get a nice automatically-generated help page, robust option +parsing, command subcompletion, and sensible defaults for everything +you don't specify. diff --git a/ruby/rubygem-trollop/rubygem-trollop.SlackBuild b/ruby/rubygem-trollop/rubygem-trollop.SlackBuild new file mode 100644 index 0000000000..ee301994fe --- /dev/null +++ b/ruby/rubygem-trollop/rubygem-trollop.SlackBuild @@ -0,0 +1,99 @@ +#!/bin/sh + +# Script written by Benjamin Trigona-Harany (bosth@alumni.sfu.ca) +# based on rubygem template by vbatts + +PRGNAM=rubygem-trollop +VERSION=${VERSION:-1.16.2} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRCNAM=trollop + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP + +DESTDIR=$( ruby -r rbconfig -e ' +include RbConfig +printf("%s/%s/gems/%s\n", + CONFIG["libdir"], + CONFIG["RUBY_INSTALL_NAME"], + CONFIG["ruby_version"] + ) +') + +# print a friendly warning of unsatisfied dependencies +gem specification $CWD/$SRCNAM-$VERSION.gem | \ + ruby -r yaml -r rbconfig -e ' +c = Config::CONFIG +path = sprintf("%s/%s/gems/%s", + c["libdir"], + c["RUBY_INSTALL_NAME"], + c["ruby_version"]) +sys_gemspecs = Dir.glob(path + "/specifications/*").map {|g| gs = Gem::Specification.load(g); gs.name } +obj = Gem::Specification.from_yaml($stdin) +obj.dependencies.each {|dep| + if not(dep.type == :runtime) + next + end + if not(sys_gemspecs.include?(dep.name)) + $stderr.write("WARNING: #{dep.name} gem not found\n") + sleep 0.5 + end +}' + +gem install \ + --local \ + --no-update-sources \ + --ignore-dependencies \ + --backtrace \ + --install-dir $PKG/$DESTDIR \ + $CWD/$SRCNAM-$VERSION.gem + +# Strip binaries and libraries. +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +# Remove cached gem from install +rm -rf $PKG/$DESTDIR/cache + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +tar -x -O --file=$CWD/$SRCNAM-$VERSION.gem data.tar.gz | tar -xz -C $PKG/usr/doc/$PRGNAM-$VERSION --file=- \ + FAQ.txt History.txt README.txt +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/ruby/rubygem-trollop/rubygem-trollop.info b/ruby/rubygem-trollop/rubygem-trollop.info new file mode 100644 index 0000000000..402a3a8522 --- /dev/null +++ b/ruby/rubygem-trollop/rubygem-trollop.info @@ -0,0 +1,10 @@ +PRGNAM="rubygem-trollop" +VERSION="1.16.2" +HOMEPAGE="http://trollop.rubyforge.org" +DOWNLOAD="http://rubygems.org/downloads/trollop-1.16.2.gem" +MD5SUM="8e7060748d49647cd9760e99ed745fbc" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Benjamin Trigona-Harany" +EMAIL="bosth@alumni.sfu.ca" +APPROVED="dsomero" diff --git a/ruby/rubygem-trollop/slack-desc b/ruby/rubygem-trollop/slack-desc new file mode 100644 index 0000000000..443431d0a8 --- /dev/null +++ b/ruby/rubygem-trollop/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +rubygem-trollop: rubygem-trollop (Ruby commandline parser) +rubygem-trollop: +rubygem-trollop: Trollop is a commandline option parser for Ruby that just gets out +rubygem-trollop: of your way. One line of code per option is all you need to write. +rubygem-trollop: +rubygem-trollop: +rubygem-trollop: +rubygem-trollop: +rubygem-trollop: +rubygem-trollop: +rubygem-trollop: diff --git a/ruby/rubygem-xapian-full/README b/ruby/rubygem-xapian-full/README new file mode 100644 index 0000000000..590f150ae3 --- /dev/null +++ b/ruby/rubygem-xapian-full/README @@ -0,0 +1,2 @@ +Xapian bindings for Ruby without dependency on the xapian-core (or +any other) SlackBuild. diff --git a/ruby/rubygem-xapian-full/rubygem-xapian-full.SlackBuild b/ruby/rubygem-xapian-full/rubygem-xapian-full.SlackBuild new file mode 100644 index 0000000000..2a19efdbea --- /dev/null +++ b/ruby/rubygem-xapian-full/rubygem-xapian-full.SlackBuild @@ -0,0 +1,135 @@ +#!/bin/sh + +# Script written by Benjamin Trigona-Harany (bosth@alumni.sfu.ca) +# based on rubygem template by vbatts + +PRGNAM=rubygem-xapian-full +VERSION=${VERSION:-1.2.3} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +SRCNAM=xapian-full + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +rm -rf $PKG $TMP/$SRCNAM-$VERSION +mkdir -p $TMP $PKG $OUTPUT +cd $TMP + +DESTDIR=$( ruby -r rbconfig -e ' +include RbConfig +printf("%s/%s/gems/%s\n", + CONFIG["libdir"], + CONFIG["RUBY_INSTALL_NAME"], + CONFIG["ruby_version"] + ) +') + +# print a friendly warning of unsatisfied dependencies +gem specification $CWD/$SRCNAM-$VERSION.gem | \ + ruby -r yaml -r rbconfig -e ' +obj = YAML::load($stdin) +obj.ivars["dependencies"].each {|d| + if not(d.ivars["type"] == :runtime) + next + end + + name = d.ivars["name"] + begin + require name + rescue LoadError + $stderr.write("WARNING: #{name} gem not found\n") + sleep 0.5 + end +}' + +gem unpack $CWD/$SRCNAM-$VERSION.gem +cd $SRCNAM-$VERSION + +mkdir -p $PKG/$DESTDIR/specifications +mv $SRCNAM.gemspec $PKG/$DESTDIR/specifications/$SRCNAM-$VERSION.gemspec + +( tar xvf xapian-core-$VERSION.tar.gz + cd xapian-core-$VERSION + chown -R root:root . + CFLAGS="${SLKCFLAGS}" \ + CPPFLAGS="${SLKCFLAGS}" \ + ./configure \ + --prefix=$DESTDIR/gems/$SRCNAM-$VERSION \ + --libdir=$DESTDIR/gems/$SRCNAM-$VERSION/lib \ + --disable-static \ + --disable-documentaion \ + --build=$ARCH-slackware-linux + + make + make install DESTDIR=$PKG +) + +( tar xvf xapian-bindings-$VERSION.tar.gz + cd xapian-bindings-$VERSION + chown -R root:root . + CFLAGS="${SLKCFLAGS} -I$PKG/$DESTDIR/gems/$SRCNAM-$VERSION/include -L$PKG/$DESTDIR/gems/$SRCNAM-$VERSION/lib" \ + LDFLAGS="${SLKCFLAGS} -L$PKG/$DESTDIR/gems/$SRCNAM-$VERSION/lib" \ + CPPFLAGS="-I$PKG/$DESTDIR/gems/$SRCNAM-$VERSION/include -L$PKG/$DESTDIR/gems/$SRCNAM-$VERSION/lib" \ + XAPIAN_CONFIG="`pwd`/../xapian-core-$VERSION/xapian-config" \ + ./configure \ + --prefix=$DESTDIR/gems/$SRCNAM-$VERSION \ + --with-ruby \ + --build=$ARCH-slackware-linux || exit + + make + make install DESTDIR=$PKG + + mv $PKG/$DESTDIR/../../site_ruby/*/xapian.rb $PKG/$DESTDIR/gems/$SRCNAM-$VERSION/lib + mv $PKG/$DESTDIR/../../site_ruby/*/*/_xapian.so $PKG/$DESTDIR/gems/$SRCNAM-$VERSION/lib + rm -rf $PKG/$DESTDIR/../../site_ruby +) + +# Don't need this +rm -rf $PKG/$DESTDIR/gems/$SRCNAM-$VERSION/share + +# Strip binaries and libraries. +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/bindings +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/core + +(cd xapian-bindings-$VERSION +cp -a ChangeLog COPYING HACKING INSTALL NEWS README TODO \ + $PKG/usr/doc/$PRGNAM-$VERSION/bindings) +(cd $PKG/$DESTDIR/gems/$SRCNAM-$VERSION/xapian-core-* +cp -a ChangeLog COPYING HACKING INSTALL NEWS README \ + $PKG/usr/doc/$PRGNAM-$VERSION/core) +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c y $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/ruby/rubygem-xapian-full/rubygem-xapian-full.info b/ruby/rubygem-xapian-full/rubygem-xapian-full.info new file mode 100644 index 0000000000..9cd93332e8 --- /dev/null +++ b/ruby/rubygem-xapian-full/rubygem-xapian-full.info @@ -0,0 +1,10 @@ +PRGNAM="rubygem-xapian-full" +VERSION="1.2.3" +HOMEPAGE="http://rubygems.org/gems/xapian-full" +DOWNLOAD="http://rubygems.org/downloads/xapian-full-1.2.3.gem" +MD5SUM="772947e9b6a03f37a00c361ac7492ad6" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Benjamin Trigona-Harany" +EMAIL="bosth@alumni.sfu.ca" +APPROVED="dsomero" diff --git a/ruby/rubygem-xapian-full/slack-desc b/ruby/rubygem-xapian-full/slack-desc new file mode 100644 index 0000000000..87b5fa1943 --- /dev/null +++ b/ruby/rubygem-xapian-full/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +rubygem-xapian-full: rubygem-xapian-full (Xapian bindings) +rubygem-xapian-full: +rubygem-xapian-full: Xapian bindings for Ruby without dependency on the xapian-core (or +rubygem-xapian-full: any other) SlackBuild. +rubygem-xapian-full: +rubygem-xapian-full: +rubygem-xapian-full: +rubygem-xapian-full: +rubygem-xapian-full: +rubygem-xapian-full: +rubygem-xapian-full: -- cgit v1.2.3