summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
author Vincent Batts2010-06-05 08:13:50 +0200
committer Robby Workman2010-06-05 08:13:50 +0200
commit43e12567da5f362ba0392236f3de6686eda447bd (patch)
tree0ae362d77f9eee6b61b063f654be6da44d09637f /system
parent886f62b8f450b8f2d42b9b124bc557b526f4411e (diff)
downloadslackbuilds-43e12567da5f362ba0392236f3de6686eda447bd.tar.gz
system/rubygems: Removed (part of Slackware ruby package)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r--system/rubygems/README9
-rw-r--r--system/rubygems/rubygems.SlackBuild78
-rw-r--r--system/rubygems/rubygems.info10
-rw-r--r--system/rubygems/slack-desc19
4 files changed, 0 insertions, 116 deletions
diff --git a/system/rubygems/README b/system/rubygems/README
deleted file mode 100644
index b19dc61ea3..0000000000
--- a/system/rubygems/README
+++ /dev/null
@@ -1,9 +0,0 @@
-RubyGems is the Ruby standard for publishing and managing third party
-libraries.
-
-NOTICE:
- while the rubygems installation will be managed with this SlackBuild,
- the gems that will get installed to --local 'system', will be existing
- in '/usr/lib/ruby/gems/1.8/gems/'
- You can 'uninstall' them with `gem`, but otherwise they will remain
- if the rubygems package is removed.
diff --git a/system/rubygems/rubygems.SlackBuild b/system/rubygems/rubygems.SlackBuild
deleted file mode 100644
index 9c4249344f..0000000000
--- a/system/rubygems/rubygems.SlackBuild
+++ /dev/null
@@ -1,78 +0,0 @@
-#!/bin/sh
-#
-# Slackware build script for rubygems
-# Written by Vincent Batts, vbatts@batts.mine.nu
-
-PRGNAM=rubygems
-VERSION=1.3.4
-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}
-
-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
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tgz
-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 {} \;
-
-GEM_HOME=$PKG/usr/lib${LIBDIRSUFFIX}/ruby/gems/1.8 \
- ruby setup.rb --destdir=$PKG/
-
-# Setting global GEM_PATH to get rdoc correct for gems installed
-mkdir -p $PKG/etc/profile.d/
-cat << EOF > $PKG/etc/profile.d/gem.sh
-#!/bin/sh
-export GEM_PATH=/usr/lib${LIBDIRSUFFIX}/ruby/gems/1.8
-EOF
-cat << EOF > $PKG/etc/profile.d/gem.csh
-#!/bin/csh
-setenv GEM_PATH /usr/lib${LIBDIRSUFFIX}/ruby/gems/1.8
-EOF
-chmod 0755 $PKG/etc/profile.d/*
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README ChangeLog LICENSE.txt GPL.txt $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/system/rubygems/rubygems.info b/system/rubygems/rubygems.info
deleted file mode 100644
index 7466bdf061..0000000000
--- a/system/rubygems/rubygems.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="rubygems"
-VERSION="1.3.4"
-HOMEPAGE="http://rubyforge.org/projects/rubygems/"
-DOWNLOAD="http://rubyforge.org/frs/download.php/57643/rubygems-1.3.4.tgz"
-MD5SUM="b17b398503253bf36a101c58f02a226f"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-MAINTAINER="Vincent Batts"
-EMAIL="vbatts@hashbangbash.com"
-APPROVED="rworkman"
diff --git a/system/rubygems/slack-desc b/system/rubygems/slack-desc
deleted file mode 100644
index 915a85162f..0000000000
--- a/system/rubygems/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-------------------------------------------------------|
-rubygems: rubygems (ruby library manager)
-rubygems:
-rubygems: The Ruby standard for publishing and managing third party libraries.
-rubygems:
-rubygems: Homepage: http://rubyforge.org/projects/rubygems/
-rubygems:
-rubygems:
-rubygems:
-rubygems:
-rubygems:
-rubygems: