network-ups-tools: upgrade to 2.7.2 and include libs
This commit is contained in:
parent
f0a7546b52
commit
48ccecdcf3
4 changed files with 27 additions and 7 deletions
|
@ -1581,3 +1581,5 @@ libgdkglext-x11-1.0.so.0 gtkglext-1.2.0_4
|
|||
libXaw3d.so.8 libXaw3d-1.6.2_1
|
||||
libshiboken-python2.7.so.1.2 python-shiboken-1.2.2_1
|
||||
libpyside-python2.7.so.1.2 python-pyside-1.2.2_1
|
||||
libupsclient.so.4 libnetwork-ups-tools-2.7.2_1
|
||||
libnutclient.so.0 libnetwork-ups-tools-2.7.2_1
|
||||
|
|
1
srcpkgs/libnetwork-ups-tools
Symbolic link
1
srcpkgs/libnetwork-ups-tools
Symbolic link
|
@ -0,0 +1 @@
|
|||
network-ups-tools
|
1
srcpkgs/network-ups-tools-devel
Symbolic link
1
srcpkgs/network-ups-tools-devel
Symbolic link
|
@ -0,0 +1 @@
|
|||
network-ups-tools
|
|
@ -1,16 +1,16 @@
|
|||
# Template file for 'network-ups-tools'
|
||||
pkgname=network-ups-tools
|
||||
version=2.6.5
|
||||
revision=2
|
||||
version=2.7.2
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
configure_args="
|
||||
--sbindir=/usr/bin --sysconfdir=/etc/ups --without-doc --disable-static
|
||||
--datadir=/usr/share/ups --with-user=nut --with-group=nut --with-ssl
|
||||
--with-usb --without-dev --with-serial -with-avahi --with-udev-dir=/usr/lib/udev
|
||||
--with-systemdsystemunitdir=/lib/systemd/system"
|
||||
--with-systemdsystemunitdir=/lib/systemd/system --without-libltdl --without-ipmi
|
||||
--without-freeipmi"
|
||||
hostmakedepends="pkg-config"
|
||||
makedepends="avahi-libs-devel openssl-devel libusb-compat-devel systemd-devel neon-devel"
|
||||
depends="shadow"
|
||||
system_accounts="nut"
|
||||
conf_files="
|
||||
/etc/ups/ups.conf
|
||||
|
@ -23,16 +23,32 @@ 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
|
||||
distfiles="http://www.networkupstools.org/source/2.7/nut-$version.tar.gz"
|
||||
checksum=4d5365359b059d96dfcb77458f361a114d26c84f1297ffcd0c6c166f7200376d
|
||||
wrksrc="nut-${version}"
|
||||
|
||||
post_install() {
|
||||
# remove unused stuff
|
||||
rm -rf ${DESTDIR}/usr/{include,html,cgi-bin,lib/pkgconfig}
|
||||
rm -rf ${DESTDIR}/usr/{html,cgi-bin}
|
||||
# Prepare configuration files
|
||||
for f in ups upsd upsmon upssched nut; do
|
||||
mv ${DESTDIR}/etc/ups/${f}.conf{.sample,}
|
||||
done
|
||||
mv ${DESTDIR}/etc/ups/upsd.users{.sample,}
|
||||
}
|
||||
|
||||
libnetwork-ups-tools_package() {
|
||||
short_desc+=" - runtime library"
|
||||
pkg_install() {
|
||||
vmove "usr/lib/*.so.*"
|
||||
}
|
||||
}
|
||||
|
||||
network-ups-tools-devel_package() {
|
||||
short_desc+=" - development files"
|
||||
depends="lib${sourcepkg}>=${version}_${revision}"
|
||||
pkg_install() {
|
||||
vmove "usr/lib/*.so"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue