wok view apcupsd/receipt @ rev 22487
updated apcupsd (3.14.9 -> 3.14.14)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Dec 31 13:16:39 2019 +0100 (2019-12-31) |
parents | 11b5e93cb5f2 |
children | 5f6c5106b1f5 |
line source
1 # SliTaz package receipt.
3 PACKAGE="apcupsd"
4 VERSION="3.14.14"
5 CATEGORY="system-tools"
6 SHORT_DESC="APC UPS Power Management (daemon)."
7 MAINTAINER="maintainer@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 libgd-dev slitaz-dev-pkgs"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 sed -i 's/src platforms doc/src platforms/' Makefile
20 SHUTDOWN=/sbin/poweroff ac_cv_func_setpgrp_void=yes \
21 ./configure \
22 --enable-usb \
23 --disable-snmp \
24 --disable-net \
25 --with-upstype=usb \
26 --with-dev= \
27 --enable-threads \
28 --enable-cgi \
29 --prefix=/usr \
30 --infodir=/usr/share/info \
31 --mandir=/usr/share/man \
32 $CONFIGURE_ARGS &&
33 make &&
34 make install
36 cook_pick_manpages $src/doc/*.5 $src/doc/*.8
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 cp -a $install/* $fs
43 rm -r $fs/usr/share/man
44 }