wok annotate apcupsd/receipt @ rev 21999

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