New package: network-ups-tools-2.6.5_1

This commit is contained in:
Ypnose 2013-09-29 18:18:53 +02:00
parent c1a2863717
commit c2ebce6f33
3 changed files with 34 additions and 0 deletions

View file

@ -1414,3 +1414,4 @@ libupnp.so.6 libupnp-1.6.18_1
libmozjs-17.0.so mozjs17-17.0.0_1
libgeocode-glib.so.0 geocode-glib-3.10.0_1
libzeitgeist-2.0.so.0 libzeitgeist2-0.9.14_1
libupsclient.so.1 network-ups-tools-2.6.5_1

View file

@ -0,0 +1 @@
network-ups-tools/

View file

@ -0,0 +1,32 @@
# Template file for 'network-ups-tools'
pkgname=network-ups-tools
version=2.6.5
revision=1
build_style=gnu-configure
configure_args="--prefix=/usr --sbindir=/usr/bin --sysconfdir=/etc/ups --without-doc
--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-devel_package() {
depends="network-ups-tools>=${version}"
short_desc+=" - development files"
pkg_install() {
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove "usr/lib/*.so.*"
}
}
network-ups-tools_package() {
pkg_install() {
vmove all
}
}