opt/libunwind/Pkgfile

22 lines
547 B
Plaintext
Raw Normal View History

2021-10-16 08:32:38 +02:00
# Description: Portable and efficient API to determine the call-chain of a program
2023-08-18 22:57:01 +02:00
# URL: https://github.com/libunwind/libunwind/
2023-07-07 20:01:13 +02:00
# Maintainer: Tim Biermann, tbier at posteo dot de
# Optional: texlive
2021-10-16 08:32:38 +02:00
name=libunwind
2024-01-15 22:21:55 +01:00
version=1.8.0
2021-10-16 08:32:38 +02:00
release=1
2023-08-18 22:57:01 +02:00
source=(https://github.com/libunwind/libunwind/releases/download/v$version/libunwind-$version.tar.gz)
2021-10-16 08:32:38 +02:00
build() {
2023-07-07 20:01:13 +02:00
cd $name-$version
2023-08-18 22:57:01 +02:00
autoreconf -fvi
2023-07-07 20:01:13 +02:00
./configure --prefix=/usr \
--enable-documentation
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
make DESTDIR=$PKG install
2021-10-16 08:32:38 +02:00
}