wok-next view apcupsd/receipt @ rev 21307
updated hydra (7.3 -> 9.0)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Dec 10 10:07:48 2019 +0100 (2019-12-10) |
parents | d5aab818505e |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="apcupsd"
4 VERSION="3.14.14"
5 CATEGORY="system-tools"
6 SHORT_DESC="APC UPS Power Management (daemon)"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.apcupsd.com/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="libgd-dev"
15 DEPENDS_std="libgd"
17 compile_rules() {
18 sed -i 's/src platforms doc/src platforms/' Makefile
20 SHUTDOWN=/sbin/poweroff \
21 ac_cv_func_setpgrp_void=yes \
22 ./configure \
23 --enable-usb \
24 --disable-snmp \
25 --disable-net \
26 --with-upstype=usb \
27 --with-dev= \
28 --enable-cgi \
29 $CONFIGURE_ARGS &&
30 make &&
31 make install || return 1
33 cook_pick_manpages $src/doc/*.5 $src/doc/*.8
34 }