compat-32/elfutils-32/Pkgfile

25 lines
543 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 elfutils
2014-02-16 16:38:35 +01:00
name=elfutils-32
2019-02-16 03:32:27 +01:00
version=0.176
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- \
--disable-nls
2014-02-16 16:38:35 +01:00
make
make DESTDIR=$PKG install
rm -r $PKG/usr/{bin,include}
2014-02-16 16:38:35 +01:00
}