aboutsummaryrefslogtreecommitdiff
path: root/ruby
diff options
context:
space:
mode:
Diffstat (limited to 'ruby')
-rw-r--r--ruby/rbenv/rbenv.SlackBuild27
-rw-r--r--ruby/rbenv/rbenv.info6
2 files changed, 13 insertions, 20 deletions
diff --git a/ruby/rbenv/rbenv.SlackBuild b/ruby/rbenv/rbenv.SlackBuild
index f41479a68ba52..33d0da0d99122 100644
--- a/ruby/rbenv/rbenv.SlackBuild
+++ b/ruby/rbenv/rbenv.SlackBuild
@@ -24,8 +24,8 @@
PRGNAM=rbenv
-VERSION=${VERSION:-1.0.0}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-1.1.0}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -62,14 +62,7 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-if [ -e "$CWD/$PRGNAM-$VERSION.tar.gz" ] ; then
- tar xvf "$CWD/$PRGNAM-$VERSION.tar.gz"
-elif [ -e "$CWD/v$VERSION.tar.gz" ] ; then
- tar xvf "$CWD/v$VERSION.tar.gz"
-else
- echo "Source tarball not found - checked $PRGNAM-$VERSION.tar.gz and v$VERSION.tar.gz"
- exit 2
-fi
+tar xvf "$CWD/$PRGNAM-$VERSION.tar.gz"
cd $PRGNAM-$VERSION
@@ -83,15 +76,15 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-cd src
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure
+(
+ cd src
-make
+ CFLAGS="$SLKCFLAGS" \
+ CXXFLAGS="$SLKCFLAGS" \
+ ./configure
-cd ..
+ make
+)
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
diff --git a/ruby/rbenv/rbenv.info b/ruby/rbenv/rbenv.info
index fcb9399e25b3a..2304036de82c8 100644
--- a/ruby/rbenv/rbenv.info
+++ b/ruby/rbenv/rbenv.info
@@ -1,8 +1,8 @@
PRGNAM="rbenv"
-VERSION="1.0.0"
+VERSION="1.1.0"
HOMEPAGE="https://github.com/rbenv/rbenv"
-DOWNLOAD="https://github.com/rbenv/rbenv/archive/v1.0.0.tar.gz"
-MD5SUM="0c0e8d5b612f424c8c907249e9ad05c5"
+DOWNLOAD="https://github.com/rbenv/rbenv/archive/v1.1.0/rbenv-1.1.0.tar.gz"
+MD5SUM="3010931a696e01797cc3006a10d948d3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""