wok-current view apcupsd/receipt @ rev 22337

Up x11vnc-extra (0.9.16)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 15 17:18:01 2019 +0100 (2019-11-15)
parents f0a0b5091b4a
children ae1c8d5e635b
line source
1 # SliTaz package receipt.
3 PACKAGE="apcupsd"
4 VERSION="3.14.9"
5 CATEGORY="system-tools"
6 SHORT_DESC="APC UPS Power Management (daemon)"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.apcupsd.com/"
11 WGET_URL="http://netcologne.dl.sourceforge.net/project/$PACKAGE/$PACKAGE%20-%20Stable/$VERSION/$TARBALL"
13 BUILD_DEPENDS="slitaz-dev-pkgs libgd-dev libgd"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 sed -i 's/src platforms doc/src platforms/' Makefile
19 SHUTDOWN=/sbin/poweroff ac_cv_func_setpgrp_void=yes ./configure \
20 --enable-usb \
21 --disable-snmp \
22 --disable-net \
23 --with-upstype=usb \
24 --with-dev= \
25 --enable-threads \
26 --enable-cgi \
27 --prefix=/usr \
28 --infodir=/usr/share/info \
29 --mandir=/usr/share/man \
30 $CONFIGURE_ARGS &&
31 make && make install
33 cook_pick_manpages $src/doc/*.5 $src/doc/*.8
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 cp -a $install/* $fs
40 rm -r $fs/usr/share/man
41 }