diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2021-01-17 14:08:56 +0100 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2021-04-17 23:13:50 -0500 |
commit | ca93a46fe9dd6e0cdbbfa6ae7cdc73af64edb419 (patch) | |
tree | 1fc613bc0f86ee4a713f80d10f9c106cc32eb191 | |
parent | e5e784fa637e281e7441efce8b745084f43d72d0 (diff) |
libraries/avr-libc: Updated for version 2.0.0.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r-- | libraries/avr-libc/avr-libc.SlackBuild | 15 | ||||
-rw-r--r-- | libraries/avr-libc/avr-libc.info | 6 |
2 files changed, 11 insertions, 10 deletions
diff --git a/libraries/avr-libc/avr-libc.SlackBuild b/libraries/avr-libc/avr-libc.SlackBuild index 3c1455ba092c..c2866302f1ca 100644 --- a/libraries/avr-libc/avr-libc.SlackBuild +++ b/libraries/avr-libc/avr-libc.SlackBuild @@ -13,13 +13,13 @@ # incorrect use of this script. PRGNAM=avr-libc -VERSION=${VERSION:-1.8.1} -BUILD=${BUILD:-3} +VERSION=${VERSION:-2.0.0} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -36,8 +36,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" @@ -65,6 +65,8 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +./bootstrap + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -82,8 +84,7 @@ CXXFLAGS="$SLKCFLAGS" \ make all make install DOC_INST_DIR=$PKG/usr/doc/$PRGNAM-$VERSION DESTDIR=$PKG -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true +# Don't strip the libraries to avoid damaging them # Create the directory for program documentation. mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/libraries/avr-libc/avr-libc.info b/libraries/avr-libc/avr-libc.info index b8e89f4dda86..b2f5078b3d61 100644 --- a/libraries/avr-libc/avr-libc.info +++ b/libraries/avr-libc/avr-libc.info @@ -1,8 +1,8 @@ PRGNAM="avr-libc" -VERSION="1.8.1" +VERSION="2.0.0" HOMEPAGE="http://avr-libc.nongnu.org/" -DOWNLOAD="http://download.savannah.gnu.org/releases/avr-libc/avr-libc-1.8.1.tar.bz2" -MD5SUM="0caccead59eaaa61ac3f060ca3a803ef" +DOWNLOAD="http://download.savannah.gnu.org/releases/avr-libc/avr-libc-2.0.0.tar.bz2" +MD5SUM="2360981cd5d94e1d7a70dfc6983bdf15" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="avr-gcc" |