# Contributor: Carlo Landmeter # Maintainer: Carlo Landmeter pkgname=3dm2 pkgver=9.5.1.1 pkgrel=1 pkgdesc="3ware's RAID Management software tool" url="http://www.3ware.com" license="closed" depends= 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 }