Pkgfile (762B)
1 # Description: A collection of utilities to handle ELF objects. 2 # URL: https://sourceware.org/elfutils/ 3 # Maintainer: Emmett1, emmett1 dot 2miligrams at protonmail dot com 4 # Depends on: bzip2 xz zlib 5 6 name=elfutils 7 version=0.193 8 release=1 9 source=(https://sourceware.org/$name/ftp/$version/$name-$version.tar.bz2 10 libeu.patch 11 musl.patch) 12 13 build() { 14 cd $name-$version 15 16 patch -Np1 -i ../libeu.patch 17 patch -Np1 -i ../musl.patch 18 19 autoreconf -fi 20 21 CFLAGS+=" -ffat-lto-objects" \ 22 ./configure \ 23 --prefix=/usr \ 24 --program-prefix=eu- \ 25 --enable-deterministic-archives \ 26 --disable-debuginfod \ 27 --disable-libdebuginfod \ 28 --disable-nls \ 29 ac_cv_c99=yes 30 31 # Useless stuff 32 printf '%s\n' "all:" "install:" > src/Makefile 33 34 make 35 make DESTDIR=$PKG install 36 }