ruby/gem2tgz: Moved from Development and updated for version 1.2.

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
Gwenhael Le Moine 2011-05-03 21:55:57 -05:00 committed by Robby Workman
parent 1a550edf56
commit afde5bcd2d
4 changed files with 14 additions and 13 deletions

View file

@ -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:

View file

@ -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

View file

@ -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"