aboutsummaryrefslogtreecommitdiffstats
path: root/non-free/3dm2/APKBUILD
blob: 6c383f97235785950130497d23d3df7887614cec (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
# Contributor: Carlo Landmeter <clandmeter at gmail>
# Maintainer: Carlo Landmeter <clandmeter at gmail>
pkgname=3dm2
pkgver=9.5.1.1
pkgrel=0
pkgdesc="3ware's RAID Management software tool"
url="http://www.3ware.com"
license="closed"
depends="uclibc"
makedepends=""
subpackages="$pkgname-doc"
source="http://alpine.nethq.org/clandmeter/src/3ware-${pkgname}-bin-${pkgver}-x86.tar.bz2
$pkgname.initd
$pkgname.confd"

build() {
	cd "$srcdir/3ware-${pkgname}-bin-${pkgver}-x86"

	install -m644 -D etc/3dm2/3dm2.conf "$pkgdir"/etc/3dm2/3dm2.conf 
	cp -r usr "$pkgdir"
	install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
	install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname
}

md5sums="7b5fb1ca268915e22a8c4a40ca1af772  3ware-3dm2-bin-9.5.1.1-x86.tar.bz2
922d168a36a615ef06941f73d0d44d40  3dm2.initd
e84205681f64c07af9ec5b6a3dd8bc38  3dm2.confd"