summaryrefslogtreecommitdiff
path: root/development/dwarf
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2018-10-04 07:38:11 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-10-04 23:50:31 +0700
commitd6db13a1a9f897a01fc5a468816bef90bcd5e8f3 (patch)
tree1abb300945bdb24d98754626ba1153c350666cbb /development/dwarf
parentd5948aa97c7ab6138cacee446d3cf5f5b5f6fe6d (diff)
downloadslackbuilds-d6db13a1a9f897a01fc5a468816bef90bcd5e8f3.tar.gz
development/dwarf: Updated for version 20180809
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/dwarf')
-rw-r--r--development/dwarf/dwarf.SlackBuild18
-rw-r--r--development/dwarf/dwarf.info6
2 files changed, 14 insertions, 10 deletions
diff --git a/development/dwarf/dwarf.SlackBuild b/development/dwarf/dwarf.SlackBuild
index 63c4394d06..b78cd7c3fe 100644
--- a/development/dwarf/dwarf.SlackBuild
+++ b/development/dwarf/dwarf.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=dwarf
-VERSION=${VERSION:-20180129}
+VERSION=${VERSION:-20180809}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -61,7 +61,7 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/libdwarf-$VERSION.tar.gz
-cd $PRGNAM-$VERSION/libdwarf
+cd libdwarf-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -72,20 +72,24 @@ find -L . \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="-I/usr/include/libelf $SLKCFLAGS" \
./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --mandir=/usr/man \
--enable-shared \
--build=$ARCH-slackware-linux
+cd libdwarf
make
+make install DESTDIR=$PKG
-# There is no make install
-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
+rm -f $PKG/usr/lib${LIBDIRSUFFIX}/libdwarf.{a,la}
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
-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
mkdir -p $PKG/install
diff --git a/development/dwarf/dwarf.info b/development/dwarf/dwarf.info
index 73521dcd1b..32d3e7fa7e 100644
--- a/development/dwarf/dwarf.info
+++ b/development/dwarf/dwarf.info
@@ -1,8 +1,8 @@
PRGNAM="dwarf"
-VERSION="20180129"
+VERSION="20180809"
HOMEPAGE="https://www.prevanders.net/dwarf.html"
-DOWNLOAD="https://www.prevanders.net/libdwarf-20180129.tar.gz"
-MD5SUM="c5e90fad4640f0d713ae8b986031f959"
+DOWNLOAD="https://www.prevanders.net/libdwarf-20180809.tar.gz"
+MD5SUM="ff90e044b3074797d0e9d5b4e485abb5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""