aboutsummaryrefslogtreecommitdiffstats
path: root/main/cciss_vol_status/APKBUILD
blob: b927988312a12d6dfbdecbbd206433c32b1adca9 (plain)
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
# Maintainer: Natanael Copa
pkgname=cciss_vol_status
pkgver=1.11
pkgrel=1
pkgdesc="Drivers for the HP (previously Compaq) Smart Array controllers which provide hardware RAID capability"
url="http://cciss.sourceforge.net/"
arch="all"
license="GPL2+"
depends=""
makedepends="linux-headers"
install=""
subpackages="$pkgname-doc"
source="http://downloads.sourceforge.net/cciss/$pkgname-$pkgver.tar.gz"

_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
	cd "$_builddir"
	# apply patches here
}

build() {
	cd "$_builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
}

md5sums="e97de30e79874fb479d766c638421483  cciss_vol_status-1.11.tar.gz"
sha256sums="98c3c798cd8f322af8c8f18b19be069a137af15fce9e4022edee3ea7371df919  cciss_vol_status-1.11.tar.gz"
sha512sums="20a80367a794a7f805f3b40184e93bd4f85e8ce2a7784eba1d2d68cbffc8299cbe121f9bf25e7112abec1269802f8146f3fc36501fb72536b1aee384e8d32064  cciss_vol_status-1.11.tar.gz"