summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ruby/gem2tgz/README (renamed from development/gem2tgz/README)4
-rw-r--r--ruby/gem2tgz/gem2tgz.SlackBuild (renamed from development/gem2tgz/gem2tgz.SlackBuild)17
-rw-r--r--ruby/gem2tgz/gem2tgz.info (renamed from development/gem2tgz/gem2tgz.info)6
-rw-r--r--ruby/gem2tgz/slack-desc (renamed from development/gem2tgz/slack-desc)0
4 files changed, 14 insertions, 13 deletions
diff --git a/development/gem2tgz/README b/ruby/gem2tgz/README
index 145d1ea963..553f455364 100644
--- a/development/gem2tgz/README
+++ b/ruby/gem2tgz/README
@@ -1,6 +1,6 @@
-gem2tgz is a utility to create Slackware packages from Rubygems.
+Script to create Slackware packages from rubygems.
-see "gem2tgz --help" for more details and the full list of options.
+see ./gem2tgz --help for more details and the full list of options.
Examples:
- Create packages for rails and all its dependencies:
diff --git a/development/gem2tgz/gem2tgz.SlackBuild b/ruby/gem2tgz/gem2tgz.SlackBuild
index 5a2888421e..484530866a 100644
--- a/development/gem2tgz/gem2tgz.SlackBuild
+++ b/ruby/gem2tgz/gem2tgz.SlackBuild
@@ -5,14 +5,14 @@
# Written by Gwenhael Le Moine <gwenhael.le.moine@gmail.com>
PRGNAM=gem2tgz
-VERSION=1.1
+VERSION=1.2
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
ARCH=noarch
-SRCNAM="cycojesus-$PRGNAM-v1.1-0-ge3dd583"
-DIRNAM="cycojesus-$PRGNAM-139fea7"
+SRCNAM="cycojesus-gem2tgz-v1.2-0-g3e84f91.tar.gz"
+SRCDIRNAM="cycojesus-gem2tgz-3e84f91"
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
@@ -21,11 +21,12 @@ OUTPUT=${OUTPUT:-/tmp}
set -e # Exit on most errors
-rm -rf $TMP/$DIRNAM $PKG
+rm -fr $TMP/$PRGNAM-$VERSION $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-tar xvf $CWD/$SRCNAM.tar.gz
-cd $DIRNAM
+tar xvf $CWD/$SRCNAM
+mv $SRCDIRNAM $PRGNAM-$VERSION
+cd $PRGNAM-$VERSION
chown -R root.root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -35,9 +36,9 @@ find . \
mkdir -p $PKG/usr/{bin,doc/$PRGNAM-$VERSION}
cp gem2tgz $PKG/usr/bin
-chmod 0755 $PKG/usr/bin/gem2tgz
+chmod 755 $PKG/usr/bin/gem2tgz
-cp -a README TODO $PKG/usr/doc/$PRGNAM-$VERSION
+cp README TODO $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/development/gem2tgz/gem2tgz.info b/ruby/gem2tgz/gem2tgz.info
index 5f873694b7..f83c0aac5f 100644
--- a/development/gem2tgz/gem2tgz.info
+++ b/ruby/gem2tgz/gem2tgz.info
@@ -1,8 +1,8 @@
PRGNAM="gem2tgz"
-VERSION="1.1"
+VERSION="1.2"
HOMEPAGE="http://github.com/cycojesus/gem2tgz"
-DOWNLOAD="https://github.com/cycojesus/gem2tgz/tarball/v1.1"
-MD5SUM="930c0f7c8f5efa6c1ebbafd05ab04a79"
+DOWNLOAD="https://github.com/cycojesus/gem2tgz/tarball/v1.2"
+MD5SUM="469c7e4b83d3091112783a6815564030"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Gwenhael Le Moine"
diff --git a/development/gem2tgz/slack-desc b/ruby/gem2tgz/slack-desc
index 913b482be7..913b482be7 100644
--- a/development/gem2tgz/slack-desc
+++ b/ruby/gem2tgz/slack-desc