wok-next view nut/receipt @ rev 21071
Update atkmm, cairo, cmake, db, elfutils, emacs, glib, glib-networking, glibmm, gobject-introspection, libsigc++, meson, openssl, zstd
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Dec 13 00:46:54 2018 +0200 (2018-12-13) |
parents | d5aab818505e |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="nut"
4 VERSION="2.6.5"
5 CATEGORY="system-tools"
6 SHORT_DESC="Network UPS Tools"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://networkupstools.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="${WEB_SITE}source/${VERSION%.*}/$TARBALL"
14 BUILD_DEPENDS="libusb-dev libusb-compat-dev expat-dev neon-dev zlib-dev \
15 openssl-dev" # libwrap-dev
17 compile_rules() {
18 ./configure $CONFIGURE_ARGS &&
19 make &&
20 make DESTDIR=$install install || return 1
22 for i in $install/etc/*.sample; do
23 mv $i $install/etc/$(basename $i .sample)
24 done
25 }
27 genpkg_rules() {
28 copy @std
29 DEPENDS="libusb-compat neon" # libusb expat zlib openssl libwrap
30 CONFIG_FILES="/etc/nut.conf /etc/ups.conf /etc/upsd.conf /etc/upsd.users \
31 /etc/upsmon.conf /etc/upssched.conf"
32 }