openpdu/APKBUILD

30 lines
774 B
Plaintext
Raw Permalink Normal View History

2018-02-14 22:06:24 +00:00
# Contributor: Paolo Asperti <paolo@asperti.com>
# Maintainer: Paolo Asperti <paolo@asperti.com>
pkgname=openpdu
2018-05-09 15:56:44 +00:00
pkgver=0.2.0
2018-02-14 22:06:24 +00:00
pkgrel=1
pkgdesc="OpenPDU project - main binary"
2018-09-15 12:48:02 +00:00
url="https://git.asperti.com/OpenPDU/openpdu"
2018-02-14 22:06:24 +00:00
arch="noarch"
license="GPL2"
2018-05-09 15:56:44 +00:00
depends="python py-argh apk-cron py-bottle 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-05-09 15:56:44 +00:00
install -Dm755 openpdud "$pkgdir"/usr/bin/openpdud
2018-02-14 22:06:24 +00:00
}