mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
development/arm-gdb: Updated for version 8.2.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
parent
24de7485bb
commit
424fde7919
2 changed files with 10 additions and 8 deletions
|
@ -25,7 +25,7 @@
|
|||
# Written by thorsten <thorsten (dot) johannvorderbrueggen (at) t-online (dot) de>
|
||||
|
||||
PRGNAM=arm-gdb
|
||||
VERSION=${VERSION:-8.1}
|
||||
VERSION=${VERSION:-8.2}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -81,12 +81,15 @@ CXXFLAGS_FOR_BUILD="$SLKCFLAGS" \
|
|||
--localstatedir=/var \
|
||||
--infodir=/usr/info \
|
||||
--mandir=/usr/man \
|
||||
--program-prefix="arm-none-eabi-" \
|
||||
--program-suffix="" \
|
||||
--build=$ARCH-slackware-linux \
|
||||
--target="arm-none-eabi" \
|
||||
--enable-languages="c,c++" \
|
||||
--enable-interwork \
|
||||
--enable-multilib \
|
||||
--disable-nls \
|
||||
--disable-libssp \
|
||||
--with-python=/usr/bin/python \
|
||||
--with-system-gdbinit=/etc/gdb/gdbinit
|
||||
|
||||
|
@ -94,15 +97,14 @@ make
|
|||
make install DESTDIR=$PKG
|
||||
|
||||
# Remove stuff that would replace files in Slackware's gdb package
|
||||
rm -rf $PKG/usr/man/
|
||||
rm -rf $PKG/usr/info/
|
||||
rm -rf $PKG/usr/share/
|
||||
rm -rf $PKG/usr/info
|
||||
rm -rf $PKG/usr/include/
|
||||
|
||||
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
|
||||
|
||||
find $PKG/usr/man -type f -exec gzip -9 {} \;
|
||||
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
for file in COPYING* ChangeLog MAINTAINERS README*; do
|
||||
cp ../gdb-$VERSION/$file $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="arm-gdb"
|
||||
VERSION="8.1"
|
||||
VERSION="8.2"
|
||||
HOMEPAGE="http://www.gnu.org/software/gdb/"
|
||||
DOWNLOAD="ftp://ftp.gnu.org/pub/gnu/gdb/gdb-8.1.tar.xz"
|
||||
MD5SUM="f46487561f9a16916a8102316f7fd105"
|
||||
DOWNLOAD="ftp://ftp.gnu.org/pub/gnu/gdb/gdb-8.2.tar.xz"
|
||||
MD5SUM="b5a49dbff00d9a87fbe114d14b3101c0"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="arm-gcc"
|
||||
|
|
Loading…
Reference in a new issue