aboutsummaryrefslogtreecommitdiff
path: root/ruby/rubygem-glib2/rubygem-glib2.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'ruby/rubygem-glib2/rubygem-glib2.SlackBuild')
-rw-r--r--ruby/rubygem-glib2/rubygem-glib2.SlackBuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/ruby/rubygem-glib2/rubygem-glib2.SlackBuild b/ruby/rubygem-glib2/rubygem-glib2.SlackBuild
index d93e78d4fcc9d..e4084ed43633e 100644
--- a/ruby/rubygem-glib2/rubygem-glib2.SlackBuild
+++ b/ruby/rubygem-glib2/rubygem-glib2.SlackBuild
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=rubygem-glib2
-VERSION=${VERSION:-2.2.5}
+VERSION=${VERSION:-3.4.9}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -34,7 +34,7 @@ SRCNAM=glib2
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -52,8 +52,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -120,7 +120,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
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=- \
- README
+ COPYING.LIB README.md
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install