aboutsummaryrefslogtreecommitdiffstats
path: root/main/cciss_vol_status/APKBUILD
blob: 182ee80cfb65bca4b24659c1350686ee27c7c149 (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
# Maintainer: Natanael Copa
pkgname=cciss_vol_status
pkgver=1.09
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="GPL"
depends=
makedepends=
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
}

md5sums="2d94cb0c6abc217de95ade6c66d14132  cciss_vol_status-1.09.tar.gz"