wok-next view nut/receipt @ rev 21722

efivar: typo in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 10:31:46 2020 +0000 (2020-09-01)
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 }