2013-09-29 16:18:53 +00:00
|
|
|
# Template file for 'network-ups-tools'
|
|
|
|
pkgname=network-ups-tools
|
|
|
|
version=2.6.5
|
|
|
|
revision=1
|
|
|
|
build_style=gnu-configure
|
2013-09-30 11:22:03 +00:00
|
|
|
configure_args="--sbindir=/usr/bin --sysconfdir=/etc/ups --without-doc
|
2013-09-29 16:18:53 +00:00
|
|
|
--datadir=/usr/share/ups --with-user=nut --with-group=nut --with-ssl --with-serial
|
|
|
|
--with-usb --with-udev-dir=/usr/lib/udev --with-systemdsystemunitdir=/lib/systemd/system"
|
|
|
|
makedepends="openssl-devel libusb-compat-devel"
|
|
|
|
short_desc="NUT provides UPS control and monitoring features"
|
|
|
|
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
|
|
|
|
license="GPL-2"
|
|
|
|
homepage="http://www.networkupstools.org/"
|
|
|
|
distfiles="http://www.networkupstools.org/source/2.6/nut-$version.tar.gz"
|
|
|
|
checksum=618df71cf1ca6e3700d1d3c282773a2dec85f9f20324c0d3234c824e97feb93f
|
|
|
|
wrksrc="nut-${version}"
|
|
|
|
|
|
|
|
network-ups-tools_package() {
|
2013-09-30 11:22:03 +00:00
|
|
|
system_accounts="nut"
|
|
|
|
depends="shadow"
|
2013-09-29 16:18:53 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove all
|
|
|
|
}
|
|
|
|
}
|