wok-next view apcupsd/receipt @ rev 21104

make: patch from LFS
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Jan 03 11:26:16 2019 +0200 (2019-01-03)
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 }