blob: 2f89334e2b6b3ed797acf5e6045202f59b9da345 (
plain) (
tree)
|
|
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Zach van Rijn <me@zv.io>
pkgname=libelf
pkgver=0.8.13
pkgrel=6
pkgdesc="ELF object file access library"
url=" " # Dead upstream: http://www.mr511.de/software/
arch="all"
license="LGPL-2.0+"
depends=""
makedepends=""
subpackages="$pkgname-dev"
source="https://distfiles.adelielinux.org/source/$pkgname-$pkgver.tar.gz
mkdir-p.patch
preprocessor-warnings.patch
"
prepare() {
default_prepare
update_config_sub
}
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--enable-shared \
--enable-gnu-names \
--enable-compat
make
}
check() {
make check
}
package() {
make install prefix="$pkgdir"/usr
}
sha512sums="d2a4ea8ccc0bbfecac38fa20fbd96aefa8e86f8af38691fb6991cd9c5a03f587475ecc2365fc89a4954c11a679d93460ee9a5890693112f6133719af3e6582fe libelf-0.8.13.tar.gz
176efa888350544f144e7d2115278bf2cc5aaca09f0937a1196ec2a0f72de1d2e62a40acf1f45331cd6c9ca3ad23104f9c3f093b6e9baafd93305a683d587198 mkdir-p.patch
6f5e4a50c1fee7bae39c7fca237bbcad005b2b865ff9fbd835c7772f92f4a31324e958b7c583a378a5069eb5c43500d9a8881013f0a7a169310efba75b2f01e8 preprocessor-warnings.patch"
|