wok-next view nut/receipt @ rev 20616

xrdp: up 0.9.3.1; zopfli: fix build; gcc61: attempt to fix; add gcc6 (latest among 6.x.x).
gcc61 and gcc6 are broken now.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Apr 21 05:15:11 2018 +0300 (2018-04-21)
parents e6615350078d
children 44db492e9f33
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="http://www.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 && make && make DESTDIR=$DESTDIR install || return 1
20 for i in $install/etc/*.sample; do
21 mv $i $install/etc/$(basename $i .sample)
22 done
23 }
25 genpkg_rules() {
26 copy @std
27 DEPENDS="libusb libusb-compat expat neon zlib openssl libwrap"
28 CONFIG_FILES="/etc/nut.conf /etc/ups.conf /etc/upsd.conf /etc/upsd.users \
29 /etc/upsmon.conf /etc/upssched.conf"
30 }