Skip to content

Commit

Permalink
ruby/rbenv: Updated for version 1.1.0.
Browse files Browse the repository at this point in the history
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
  • Loading branch information
aclemons authored and willysr committed Nov 28, 2016
1 parent 41756fa commit e1c205f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 20 deletions.
27 changes: 10 additions & 17 deletions ruby/rbenv/rbenv.SlackBuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand All @@ -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
Expand Down
6 changes: 3 additions & 3 deletions ruby/rbenv/rbenv.info
Original file line number Diff line number Diff line change
@@ -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=""
Expand Down

0 comments on commit e1c205f

Please sign in to comment.