development/dwarf: Updated for version 20180809

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Eugen Wissner 2018-10-04 07:38:11 +02:00 committed by Willy Sudiarto Raharjo
parent d5948aa97c
commit d6db13a1a9
No known key found for this signature in database
GPG key ID: 887B8374D7333381
2 changed files with 14 additions and 10 deletions

View file

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=dwarf PRGNAM=dwarf
VERSION=${VERSION:-20180129} VERSION=${VERSION:-20180809}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
@ -61,7 +61,7 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP cd $TMP
rm -rf $PRGNAM-$VERSION rm -rf $PRGNAM-$VERSION
tar xvf $CWD/libdwarf-$VERSION.tar.gz tar xvf $CWD/libdwarf-$VERSION.tar.gz
cd $PRGNAM-$VERSION/libdwarf cd libdwarf-$VERSION
chown -R root:root . chown -R root:root .
find -L . \ find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@ -72,20 +72,24 @@ find -L . \
CFLAGS="$SLKCFLAGS" \ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="-I/usr/include/libelf $SLKCFLAGS" \ CXXFLAGS="-I/usr/include/libelf $SLKCFLAGS" \
./configure \ ./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--mandir=/usr/man \
--enable-shared \ --enable-shared \
--build=$ARCH-slackware-linux --build=$ARCH-slackware-linux
cd libdwarf
make make
make install DESTDIR=$PKG
# There is no make install rm -f $PKG/usr/lib${LIBDIRSUFFIX}/libdwarf.{a,la}
mkdir -p $PKG/usr/lib${LIBDIRSUFFIX} $PKG/usr/include $PKG/usr/doc/$PRGNAM-$VERSION
cp -a libdwarf.so $PKG/usr/lib${LIBDIRSUFFIX}
cp -a dwarf.h libdwarf.h $PKG/usr/include
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ 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 | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
cp -a README NEWS COPYING CODINGSTYLE CHANGES $PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
mv $PKG/usr/share/libdwarf/libdwarf-devel/* $PKG/usr/doc/$PRGNAM-$VERSION
rm -rf $PKG/usr/share
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install mkdir -p $PKG/install

View file

@ -1,8 +1,8 @@
PRGNAM="dwarf" PRGNAM="dwarf"
VERSION="20180129" VERSION="20180809"
HOMEPAGE="https://www.prevanders.net/dwarf.html" HOMEPAGE="https://www.prevanders.net/dwarf.html"
DOWNLOAD="https://www.prevanders.net/libdwarf-20180129.tar.gz" DOWNLOAD="https://www.prevanders.net/libdwarf-20180809.tar.gz"
MD5SUM="c5e90fad4640f0d713ae8b986031f959" MD5SUM="ff90e044b3074797d0e9d5b4e485abb5"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="" REQUIRES=""