wok-next view nut/receipt @ rev 20674
Up putty (0.70)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat May 12 05:17:48 2018 +0300 (2018-05-12) |
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 }