smlinux/base/elfutils/smbuild
PktSurf 9d657e0a1d Upgraded base/perl to 5.38.0
Renamed .SMBuild files to smbuild for simplicity
Added musl-fts, musl-obstack, glslang, python-glad, libptytty, libmilter, elfutils and fuse to base section build list
Discarded fuse2 and fuse3 from base section
Temporarily discarded slapt-get, syslinux, p7zip, acpid, libelf-compat, gnu-eif, libtirpc, mozilla-nss,
lua53, qpdf, kernel-source and signify from base section build list
Disabled nls and made amends to base/e2fsprogs
Upgraded base/git to 2.46.2
Upgraded extra/gnumeric to 1.12.57
Disabled nls in base/gnutls, extra/dia
Disabled a patch and made amends in base/llvm
Fixed configure.local file in base/mandoc
Upgraded base/rust to 1.79
Fixed a ton of build files to use build prefix as /usr and miscellaneous changes
Discarded extra/bluez,blueman,scrcpy,adafruit-io
Added tomb to extra
Added new build option to extra/libass
Upgraded extra/mpv to 0.37.0
Disabled tests in gtk/gdk-pixbuf
Upgraded gtk/goffice to 0.10.57
Added gtk-doc to gtk section
Fixed build options in gtk/gtk2
Added new patches to gtk/gtk3
Added gtksourceview to gtk section
Added vulkan-headers to xorg section
Upgraded xorg/mesa to 23.1.9
Added libplacebo to xorg section
Fixed build stuff in xorg/glew
2024-10-29 20:25:20 +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
"