diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2024-01-01 12:24:58 +0900 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-01-06 08:08:33 +0700 |
commit | 3707d9845dbd5fe257537633a5002a1471859952 (patch) | |
tree | 088aa3ad78f7336f4e0ab10eb64e7d5aeca70a38 /ruby/rubygem-native-package-installer/rubygem-native-package-installer.SlackBuild | |
parent | 43f61900845b92b7815f26f4041d38c4a977225a (diff) |
ruby/rubygem-native-package-installer: Updated for version 1.1.9.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'ruby/rubygem-native-package-installer/rubygem-native-package-installer.SlackBuild')
-rw-r--r-- | ruby/rubygem-native-package-installer/rubygem-native-package-installer.SlackBuild | 19 |
1 files changed, 3 insertions, 16 deletions
diff --git a/ruby/rubygem-native-package-installer/rubygem-native-package-installer.SlackBuild b/ruby/rubygem-native-package-installer/rubygem-native-package-installer.SlackBuild index cbd780438a38..2a57f2092000 100644 --- a/ruby/rubygem-native-package-installer/rubygem-native-package-installer.SlackBuild +++ b/ruby/rubygem-native-package-installer/rubygem-native-package-installer.SlackBuild @@ -3,6 +3,7 @@ # Slackware build script for rubygem-native-package-installer # Copyright 2021 Andrew Clemons, Wellington New Zealand +# Copyright 2024 Andrew Clemons, Tokyo, Japan # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=rubygem-native-package-installer -VERSION=${VERSION:-1.1.1} +VERSION=${VERSION:-1.1.9} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -49,20 +50,6 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -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 @@ -114,7 +101,7 @@ rm -rf $PKG/$DESTDIR/cache mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION tar -x -O --file=$CWD/$SRCNAM-$VERSION.gem data.tar.gz \ - | tar -xz -C $PKG/usr/doc/$PRGNAM-$VERSION --file=- \ + | tar -xz -C $PKG/usr/doc/$PRGNAM-$VERSION --file=- --no-same-owner \ README.md cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |