openpdu/APKBUILD

28 lines
631 B
Plaintext
Raw 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
pkgver=0.1
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"
install -Dm644 etc/openpdu/openpdu.conf "$pkgdir"/etc/openpdu/openpdu.conf
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
}