From c2ebce6f339bbc5530c7f9490cdc2dbb95c2ebfa Mon Sep 17 00:00:00 2001 From: Ypnose Date: Sun, 29 Sep 2013 18:18:53 +0200 Subject: [PATCH] New package: network-ups-tools-2.6.5_1 --- common/shlibs | 1 + srcpkgs/network-ups-tools-devel | 1 + srcpkgs/network-ups-tools/template | 32 ++++++++++++++++++++++++++++++ 3 files changed, 34 insertions(+) create mode 120000 srcpkgs/network-ups-tools-devel create mode 100644 srcpkgs/network-ups-tools/template diff --git a/common/shlibs b/common/shlibs index 0e0fd0d885..7dd30d8910 100644 --- a/common/shlibs +++ b/common/shlibs @@ -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 diff --git a/srcpkgs/network-ups-tools-devel b/srcpkgs/network-ups-tools-devel new file mode 120000 index 0000000000..1d89f9adf9 --- /dev/null +++ b/srcpkgs/network-ups-tools-devel @@ -0,0 +1 @@ +network-ups-tools/ \ No newline at end of file diff --git a/srcpkgs/network-ups-tools/template b/srcpkgs/network-ups-tools/template new file mode 100644 index 0000000000..b7af13da53 --- /dev/null +++ b/srcpkgs/network-ups-tools/template @@ -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 " +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 + } +}