smlinux/base/elfutils/elfutils.SMBuild
PktSurf a6bc50adc7 Added elfutils and fuse to base
Removed build options that placed elf binaries in /bin
Removed executable bit from some build files
2024-10-29 15:25:51 +05:30

51 lines
1.6 KiB
Text

# Maintainer: PktSurf <smlinux@pktsurf.in>
# Generated by mksm SMLinux build file generator version 0.101
app=elfutils
version=0.191
build=1sml
homepage="https://sourceware.org/elfutils/"
download="https://sourceware.org/elfutils/ftp/$version/elfutils-$version.tar.bz2"
desc="Tools to manipulate ELF binary files"
requires="bzip2 curl"
noautoconfsite=1
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
applypatch $srcdir/fix-uninitialized.patch
applypatch $srcdir/musl-asm-ptrace-h.patch
applypatch $srcdir/musl-macros.patch
}
build() {
sed -i 's:-Werror::' */Makefile.in
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/share/man \
--program-prefix=eu- \
--disable-debuginfod \
--disable-libdebuginfod \
--disable-nls \
--enable-deterministic-archives
make
make install DESTDIR=$pkg
cp COPYING $pkgdocs/
mkfinalpkg
}
sha512sums="
f44ba2c36bdf3019a61a35418f05cf138c68eab8fa258a5a74b8517a5d99841f3f92d32dd6d7d6f4d68f7d050768d915833353a21e2c811f029c2988373fa0f9 elfutils-0.191.tar.lz
b9ba55e1b56a8abf694b6d02f022d9a3a0ae6ab53a8c4a71e49552e32411ef410d3a7512fbd1a729696bc2046ac11586829816f0fa3b8226ee77c9dc4b741e58 fix-uninitialized.patch
7c529f88dc248f657a8d690044560c20a222c5b37d0d7dcb057bf2eea8938c406cccd6129bce19542088511a026b233234c9a83933a525c4691810be9ca712bf musl-asm-ptrace-h.patch
792be4a38b55d20a320605ab340357ad55dc295ab241af86cd3edf4ec84b0122e91ebcf78d8d6a0f926104b5eb22306be1356b0892f71ee3ba27ae38e9130aab musl-macros.patch
"