# Contributor: A. Wilcox <awilfox@adelielinux.org> # Maintainer: A. Wilcox <awilfox@adelielinux.org> pkgname=dmraid pkgver=1.0.0_rc16 _realver=${pkgver%_*}.${pkgver##*_} pkgrel=3 pkgdesc="Tool for software RAID sets created with Device Mapper" url="https://people.redhat.com/heinzm/" arch="all" options="!check" # No test suite. license="GPL-2.0-only" depends="" makedepends="lvm2-dev" subpackages="$pkgname-dev $pkgname-doc" source="https://people.redhat.com/~heinzm/sw/$pkgname/src/$pkgname-$_realver-$pkgrel.tar.bz2 scan-under-musl.patch off_t.patch " builddir="$srcdir/$pkgname/$_realver-$pkgrel/$pkgname" prepare() { default_prepare update_config_sub } build() { ./configure \ --prefix=/usr \ --build=$CBUILD \ --host=$CHOST make -j1 } package() { make DESTDIR="$pkgdir" install } sha512sums="7c45e5117adc52fc2094b1b2bad4f4c518a46317a2196611966d72085ba3587c4ac8d1080f9d934888c01788f2b2d3d621c6f0d3e2a023c0fb1f9f3fa7fc127e dmraid-1.0.0.rc16-3.tar.bz2 d56ef247bc98ed189ec0654319130855c35d090bb9b8c14d2d3102ed2eb131674a30112517eaabfbcc93b86a45bf3f462cabef63b003ba58ca2242623192a233 scan-under-musl.patch d4892243e8aeaa3df18e7477891ffd5c25bab7439fbda702e98c77d7432a9f04bbbf3b934696c4f67e0e77d0074c1ab2e930fb15e091f6c2db4361936b664aa3 off_t.patch"