Browse Source
ruby/rubygem-glib2: Updated for version 3.4.9.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
pull/130/head
Andrew Clemons
4 years ago
committed by
Willy Sudiarto Raharjo
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
2 changed files with
9 additions and
9 deletions
-
ruby/rubygem-glib2/rubygem-glib2.SlackBuild
-
ruby/rubygem-glib2/rubygem-glib2.info
|
|
|
@ -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 |
|
|
|
|
|
|
|
@ -1,10 +1,10 @@ |
|
|
|
PRGNAM="rubygem-glib2" |
|
|
|
VERSION="2.2.5" |
|
|
|
VERSION="3.4.9" |
|
|
|
HOMEPAGE="https://rubygems.org/gems/glib2" |
|
|
|
DOWNLOAD="https://rubygems.org/downloads/glib2-2.2.5.gem" |
|
|
|
MD5SUM="32325b63033c7efacb034de9112617e1" |
|
|
|
DOWNLOAD="https://rubygems.org/downloads/glib2-3.4.9.gem" |
|
|
|
MD5SUM="fa72308d2aecbdc02568cb9a2c313cbc" |
|
|
|
DOWNLOAD_x86_64="" |
|
|
|
MD5SUM_x86_64="" |
|
|
|
REQUIRES="rubygem-pkg-config" |
|
|
|
REQUIRES="rubygem-pkg-config rubygem-native-package-installer" |
|
|
|
MAINTAINER="Dugan Chen" |
|
|
|
EMAIL="thedoogster [at] gmail [dot] com" |