blob: 373179ca8d2586327e504bea1fb9a1ce1b24f123 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# 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=""
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() {
cd "$builddir"
default_prepare
update_config_sub
}
build() {
cd "$builddir"
./configure \
--prefix=/usr \
--build=$CBUILD \
--host=$CHOST
make -j1
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
sha512sums="7c45e5117adc52fc2094b1b2bad4f4c518a46317a2196611966d72085ba3587c4ac8d1080f9d934888c01788f2b2d3d621c6f0d3e2a023c0fb1f9f3fa7fc127e dmraid-1.0.0.rc16-3.tar.bz2
d56ef247bc98ed189ec0654319130855c35d090bb9b8c14d2d3102ed2eb131674a30112517eaabfbcc93b86a45bf3f462cabef63b003ba58ca2242623192a233 scan-under-musl.patch
d4892243e8aeaa3df18e7477891ffd5c25bab7439fbda702e98c77d7432a9f04bbbf3b934696c4f67e0e77d0074c1ab2e930fb15e091f6c2db4361936b664aa3 off_t.patch"
|