| 1 | # Description: A collection of utilities to handle ELF objects. |
| 2 | # URL: https://sourceware.org/elfutils/ |
| 3 | # Maintainer: CRUX System Team, core-ports at crux dot nu |
| 4 | # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu |
| 5 | # Depends on: bzip2 xz zlib |
| 6 | |
| 7 | name=elfutils |
| 8 | version=0.169 |
| 9 | release=1 |
| 10 | source=(https://sourceware.org/$name/ftp/$version/$name-$version.tar.bz2) |
| 11 | |
| 12 | build() { |
| 13 | cd $name-$version |
| 14 | |
| 15 | ./configure --build=$CHOST \ |
| 16 | --host=$CTARGET\ |
| 17 | --prefix=/usr \ |
| 18 | --program-prefix=eu- \ |
| 19 | --disable-nls |
| 20 | |
| 21 | make |
| 22 | make DESTDIR=$PKG install |
| 23 | } |