aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libdwarf/APKBUILD
diff options
context:
space:
mode:
authorAndré Klitzing <aklitzing@gmail.com>2017-03-10 23:45:32 +0100
committerNatanael Copa <ncopa@alpinelinux.org>2017-03-14 14:50:36 +0000
commit82251a29667835e7e9f877ab39e392ae808f3dbd (patch)
treeb50caae3ca558010989d2d78a932fa21c5709ad5 /testing/libdwarf/APKBUILD
parenta09926e0513aa1e7f3205051370b46dd840184fa (diff)
downloadaports-82251a29667835e7e9f877ab39e392ae808f3dbd.tar.gz
aports-82251a29667835e7e9f877ab39e392ae808f3dbd.tar.bz2
aports-82251a29667835e7e9f877ab39e392ae808f3dbd.tar.xz
testing/libdwarf: upgrade to 20161124
* Modernize abuild * Use elfutils instead of libelf - ArchLinux uses elfutils, too - Flatpak needs elfutils and libdwarf, but libdwarf will install libelf. Using elfutils for libdwarf will avoid that conflict.
Diffstat (limited to 'testing/libdwarf/APKBUILD')
-rw-r--r--testing/libdwarf/APKBUILD32
1 files changed, 9 insertions, 23 deletions
diff --git a/testing/libdwarf/APKBUILD b/testing/libdwarf/APKBUILD
index d53591cc36..4794fbbefc 100644
--- a/testing/libdwarf/APKBUILD
+++ b/testing/libdwarf/APKBUILD
@@ -1,32 +1,20 @@
# Contributor: David Huffman <storedbox@outlook.com>
# Maintainer: David Huffman <storedbox@outlook.com>
pkgname=libdwarf
-pkgver=20160507
+pkgver=20161124
pkgrel=0
pkgdesc="Parsing library for DWARF2 and later debugging file format"
url="http://www.prevanders.net/dwarf.html"
arch="all"
license="LGPL2+"
-depends="libelf"
-depends_dev="$pkgname libelf-dev"
-makedepends="$depends_dev"
-install=""
+makedepends="elfutils-dev"
subpackages="$pkgname-dev dwarf-tools dwarf-tools-doc"
source="http://www.prevanders.net/$pkgname-$pkgver.tar.gz"
-
-_builddir="$srcdir/dwarf-$pkgver"
-prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
+options="!check"
+builddir="$srcdir/dwarf-$pkgver"
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure --prefix=/usr --enable-shared || return 1
make && make -C dwarfgen || return 1
}
@@ -39,18 +27,18 @@ package() {
local man1dir="$pkgdir/usr/share/man/man1"
mkdir -p "$bindir" "$docdir" "$incdir" "$libdir" "$man1dir"
- cd "$_builddir/libdwarf"
+ cd "$builddir/libdwarf"
cp dwarf.h libdwarf.h "$incdir"
cp libdwarf.a libdwarf.so "$libdir"
- cd "$_builddir/dwarfdump"
+ cd "$builddir/dwarfdump"
cp dwarfdump "$bindir"
cp COPYING "$docdir/dwarfdump.COPYING"
cp DWARFDUMPCOPYRIGHT GPL.txt "$docdir"
cp dwarfdump.conf "$libdir"
cp dwarfdump.1 "$man1dir"
- cd "$_builddir/dwarfgen"
+ cd "$builddir/dwarfgen"
cp dwarfgen "$bindir"
cp COPYING "$docdir/dwarfgen.COPYING"
cp dwarfgen.1 "$man1dir"
@@ -68,6 +56,4 @@ tools() {
mv "$pkgdir/$lib/dwarfdump.conf" "$subpkgdir/$lib"
}
-md5sums="ae32d6f9ece5daf05e2d4b14822ea811 libdwarf-20160507.tar.gz"
-sha256sums="12ae39376e3915bf8fa92555989f3ad5f2f4f332b590a628541ce68987b337af libdwarf-20160507.tar.gz"
-sha512sums="8a4d3721390d4d79fbf8d01fb27995ac9871f1d3e19d85aa25c108ee4cc45968a5331e2b477f559168c4597513235fb508bfe4ee1664c6dfbede3a47d48490b5 libdwarf-20160507.tar.gz"
+sha512sums="38e480bce5ae8273fd585ec1d8ba94dc3e865a0ef3fcfcf38b5d92fa1ce41f8b8c95a7cf8a6e69e7c6f638a3cc56ebbfb37b6317047309725fa17e7929096799 libdwarf-20161124.tar.gz"