new: lfs-12.2-systemd/libelf-0.191
This commit is contained in:
parent
ec6aaa5883
commit
cafa208231
31
lfs-12.2-systemd/libelf-0.191.PKGBUILD
Normal file
31
lfs-12.2-systemd/libelf-0.191.PKGBUILD
Normal file
@ -0,0 +1,31 @@
|
||||
pkgname="libelf"
|
||||
_pkgbase="elfutils"
|
||||
pkgver=0.191
|
||||
pkgdesc="Handle ELF object files and DWARF debugging information (lib)"
|
||||
license=("GPL-2.0-or-later OR LGPL-3.0-or-later")
|
||||
homepage="https://sourceware.org/elfutils/"
|
||||
sources=("${_pkgbase}-${pkgver}.tar.bz2")
|
||||
urls=("https://sourceware.org/ftp/${_pkgbase}/${pkgver}/${sources[0]}")
|
||||
md5sums="636547248fb3fae58ec48030298d3ef7"
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${sources[0]} --strip-components=1
|
||||
}
|
||||
|
||||
src_build() {
|
||||
./configure --prefix=/usr \
|
||||
--disable-debuginfod \
|
||||
--enable-libdebuginfod=dummy
|
||||
make
|
||||
}
|
||||
|
||||
src_check() {
|
||||
make check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make -C ${pkgname} DESTDIR="${pkgdir}" install
|
||||
install -vm644 config/libelf.pc "${pkgdir}/usr/lib/pkgconfig"
|
||||
rm -v "${pkgdir}/usr/lib/libelf.a"
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user