compat-32/elfutils-32/Pkgfile

27 lines
597 B
Plaintext
Raw Normal View History

2014-02-16 16:38:35 +01:00
# Description: A collection of utilities to handle ELF objects.
2017-05-10 02:55:24 +02:00
# URL: https://sourceware.org/elfutils/
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
# Depends on: bzip2-32 xz-32 zlib-32
2014-02-16 16:38:35 +01:00
name=elfutils-32
2023-11-04 10:09:51 +01:00
version=0.190
2014-02-16 16:38:35 +01:00
release=1
2017-05-10 02:55:24 +02:00
source=(https://sourceware.org/${name%-*}/ftp/$version/${name%-*}-$version.tar.bz2)
2014-02-16 16:38:35 +01:00
build() {
2017-05-10 02:55:24 +02:00
cd ${name%-*}-$version
2014-02-16 16:38:35 +01:00
./configure \
--prefix=/usr \
--libdir=/usr/lib32 \
2014-07-02 10:50:44 +02:00
--program-prefix=eu- \
2019-11-28 15:00:37 +01:00
--disable-debuginfod \
2020-09-12 06:51:13 +02:00
--disable-libdebuginfod \
2014-07-02 10:50:44 +02:00
--disable-nls
2014-02-16 16:38:35 +01:00
make
make DESTDIR=$PKG install
2019-11-28 15:00:37 +01:00
rm -r $PKG/usr/{bin,include,share/man}
2014-02-16 16:38:35 +01:00
}