summaryrefslogtreecommitdiff
path: root/repo/libdwarf/libdwarf.xibuild
blob: 66aec4fe1b5acbab07dcba6029663aad7dd1f745 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/sh

MAKEDEPS="elfutils zlib"
DEPS="musl zlib libelf"

PKG_VER=20210528
SOURCE=http://www.prevanders.net/libdwarf-$PKG_VER.tar.gz
DESC="Parsing library for DWARF2 and later debugging file format"

build () {
    ./configure \
		--prefix=/usr \
		--enable-shared \
        --enable-dwarfgen
    make
}

check () {
    make check
}


package () {
    make  DESTDIR=$PKG_DEST install 
}