# Contributor: Ehud Kaldor # Maintainer: Ehud Kaldor pkgname=liberasurecode pkgver=1.6.0 pkgrel=0 pkgdesc="Erasure Code API library written in C with pluggable Erasure Code backends" url="https://github.com/openstack/liberasurecode" arch="all" license="BSD-2-Clause" makedepends="autoconf automake libtool zlib-dev" subpackages="$pkgname-dev" source="$pkgname-$pkgver.tar.gz::https://github.com/openstack/liberasurecode/archive/$pkgver.tar.gz" prepare() { default_prepare ./autogen.sh } build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ --disable-static make } check() { make test } package() { make DESTDIR="$pkgdir" install } sha512sums="168fb75f2e329e79d6cbbc5d97e7a60963f742d9cce6e492a3c845ef77acc204b00a34292e847ae0c165177fa38a8563de2428d01f8f47364af4fb1e8f4d9517 liberasurecode-1.6.0.tar.gz"