diff options
author | Tim Dickson <dickson.tim@googlemail.com> | 2022-07-08 06:50:53 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-07-09 10:06:07 +0700 |
commit | 9dc27da3897465da743ae31f615b19f8b9536371 (patch) | |
tree | b63a6adf74d653625843278d2079fa207451f8bf /libraries/gsm/gsm.SlackBuild | |
parent | a0b513d0a52efe4a2e7dd23da0e648cfa7bf1635 (diff) |
libraries/gsm: Updated for version 1.0.19. New maintainer.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/gsm/gsm.SlackBuild')
-rw-r--r-- | libraries/gsm/gsm.SlackBuild | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/libraries/gsm/gsm.SlackBuild b/libraries/gsm/gsm.SlackBuild index 554b57b65a931..5ab252f713b3e 100644 --- a/libraries/gsm/gsm.SlackBuild +++ b/libraries/gsm/gsm.SlackBuild @@ -26,12 +26,16 @@ # - add -j1 to the 'make install' command. without this, the tcat # binary wasn't getting installed. # - i486 => i586. +# 20220619 tim dickson: updated to 1.0.19. source url and homepage updated, and take over maintainership.. +# patched patch, removed rm error messages and fixed script as +# version labling in source is modified. +#note to self: update patching to sed or similar for next release. cd $(dirname $0) ; CWD=$(pwd) PRGNAM=gsm -VERSION=${VERSION:-1.0.13} -BUILD=${BUILD:-3} +VERSION=${VERSION:-1.0.19} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -72,8 +76,10 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 -cd $PRGNAM-$VERSION +ALTVER=`echo $VERSION|awk -F"." '{print $1 "." $2 "-pl" $3 }'` +rm -rf $PRGNAM-$ALTVER +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$ALTVER chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ @@ -81,10 +87,13 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \+ -# Patches ripped off from gentoo... -patch -p1 < $CWD/patches/gsm-1.0.13-shared.patch +# Patches ripped off from gentoo... (one is post updated by me) +patch -p1 < $CWD/patches/gsm-1.0.19-shared.patch patch -p1 < $CWD/patches/gsm-1.0.12-memcpy.patch patch -p1 < $CWD/patches/gsm-1.0.12-64bit.patch +#patch makefile to remove rm error messages +sed -i '/^RMFLAGS/ c\RMFLAGS = -f' Makefile +sed -i 's/-rm \$\@/-rm \$\(RMFLAGS\) \$\@/g' Makefile mkdir -p $PKG/usr/bin mkdir -p $PKG/usr/lib$LIBDIRSUFFIX |