2018-02-14 22:06:24 +00:00
|
|
|
# Contributor: Paolo Asperti <paolo@asperti.com>
|
|
|
|
# Maintainer: Paolo Asperti <paolo@asperti.com>
|
|
|
|
pkgname=openpdu
|
2018-02-19 20:21:03 +00:00
|
|
|
pkgver=0.1.1
|
2018-02-14 22:06:24 +00:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="OpenPDU project - main binary"
|
2018-02-16 20:09:07 +00:00
|
|
|
url="https://github.com/openpdu/openpdu"
|
2018-02-14 22:06:24 +00:00
|
|
|
arch="noarch"
|
|
|
|
license="GPL2"
|
2018-02-18 17:57:33 +00:00
|
|
|
depends="python py-argh apk-cron i2c-tools"
|
2018-02-14 22:06:24 +00:00
|
|
|
makedepends=""
|
|
|
|
install="openpdu.post-install"
|
|
|
|
subpackages=""
|
|
|
|
source=""
|
2018-02-18 12:44:24 +00:00
|
|
|
options="!check"
|
2018-02-14 22:06:24 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
:
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
mkdir -p "$pkgdir"
|
2018-02-19 20:19:38 +00:00
|
|
|
install -Dm644 etc/openpdu/boards.conf "$pkgdir"/etc/openpdu/boards.conf
|
|
|
|
install -Dm644 etc/openpdu/outlets.conf "$pkgdir"/etc/openpdu/outlets.conf
|
2018-02-14 22:06:24 +00:00
|
|
|
install -Dm755 etc/local.d/openpdu.start "$pkgdir"/etc/local.d/openpdu.start
|
|
|
|
|
2018-02-18 09:29:22 +00:00
|
|
|
install -Dm755 openpdu "$pkgdir"/usr/bin/openpdu
|
2018-02-14 22:06:24 +00:00
|
|
|
}
|