summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Guinn <elyk03@gmail.com>2018-03-19 22:36:50 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-03-24 06:50:38 +0700
commit9a9e4b5cc13ec88dfc28b8572cc4d27f44ffb472 (patch)
tree051b31bb3d8d766eaff8bf505a0e570c67ed0a93
parent6110276104165414eed5239e8bbb053e72ed8da6 (diff)
downloadslackbuilds-9a9e4b5cc13ec88dfc28b8572cc4d27f44ffb472.tar.gz
development/sdcc: Updated for version 3.7.0.
Signed-off-by: Kyle Guinn <elyk03@gmail.com>
-rw-r--r--development/sdcc/patches/source-tree.patch2
-rw-r--r--development/sdcc/sdcc.SlackBuild15
-rw-r--r--development/sdcc/sdcc.info6
3 files changed, 9 insertions, 14 deletions
diff --git a/development/sdcc/patches/source-tree.patch b/development/sdcc/patches/source-tree.patch
index c860f68671..b0a0aeaca6 100644
--- a/development/sdcc/patches/source-tree.patch
+++ b/development/sdcc/patches/source-tree.patch
@@ -1,7 +1,7 @@
diff --git a/device/lib/Makefile.in b/device/lib/Makefile.in
--- a/device/lib/Makefile.in
+++ b/device/lib/Makefile.in
-@@ -527,19 +527,11 @@
+@@ -529,19 +529,11 @@
$(CP_U) -r $(MODELS) mcs51 ds390 ds400 z80 z180 r2k r3ka tlcs90 gbz80 hc08 s08 stm8 $(sdcc_libdir)/src
for src in $(MODELS) ds390 ds400 z80 z180 r2k r3ka tlcs90 gbz80 hc08 s08 stm8 pic14 pic16; do \
diff --git a/development/sdcc/sdcc.SlackBuild b/development/sdcc/sdcc.SlackBuild
index fd2a473752..39d5bcb956 100644
--- a/development/sdcc/sdcc.SlackBuild
+++ b/development/sdcc/sdcc.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for sdcc
-# Copyright 2014-2017 Kyle Guinn <elyk03@gmail.com>, USA
+# Copyright 2014-2018 Kyle Guinn <elyk03@gmail.com>, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,8 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=sdcc
-VERSION=${VERSION:-3.6.0}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-3.7.0}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -64,15 +64,12 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
+rm -rf $PRGNAM
tar xvf $CWD/$PRGNAM-src-$VERSION.tar.bz2
-cd $PRGNAM-$VERSION
+cd $PRGNAM
chown -R root:root .
chmod -R u+w,go-w,a+rX-st .
-# Don't clobber bfd.info from Slackware's binutils package.
-sed -i 's/^\(INFO_DEPS =\).*/\1/' support/sdbinutils/bfd/doc/Makefile.in
-
# A few Makefiles install (copy) the source tree _after_ building, and
# accidentally install a bunch of build byproducts which they try to clean
# up afterwards. Delete some byproducts that they missed.
@@ -115,8 +112,6 @@ make install DESTDIR=$PKG
find $PKG -exec file {} + | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-rmdir $PKG/usr/info
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/development/sdcc/sdcc.info b/development/sdcc/sdcc.info
index 638d1d0643..157f0bd37e 100644
--- a/development/sdcc/sdcc.info
+++ b/development/sdcc/sdcc.info
@@ -1,8 +1,8 @@
PRGNAM="sdcc"
-VERSION="3.6.0"
+VERSION="3.7.0"
HOMEPAGE="http://sdcc.sourceforge.net/"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/sdcc-src-3.6.0.tar.bz2"
-MD5SUM="4c4cf17d8d2b2d37af66c5b7511f62d8"
+DOWNLOAD="http://downloads.sourceforge.net/project/sdcc/sdcc/3.7.0/sdcc-src-3.7.0.tar.bz2"
+MD5SUM="76cc85d7ff27c46b930d309ea940a02f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""