wok-next annotate apcupsd/receipt @ rev 21613

updated eboard (1.1.1 -> 1.1.3)
author Hans-G?nter Theisgen
date Thu Jun 25 10:33:28 2020 +0100 (2020-06-25)
parents d5aab818505e
children
rev   line source
al@20469 1 # SliTaz package receipt v2.
pascal@11216 2
pascal@11216 3 PACKAGE="apcupsd"
al@20469 4 VERSION="3.14.14"
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"
al@20469 9 WEB_SITE="http://www.apcupsd.com/"
al@20469 10
pascal@11216 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@20469 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@11216 13
al@20469 14 BUILD_DEPENDS="libgd-dev"
al@21048 15 DEPENDS_std="libgd"
pascal@15362 16
al@20469 17 compile_rules() {
pascal@11216 18 sed -i 's/src platforms doc/src platforms/' Makefile
al@21020 19
al@21020 20 SHUTDOWN=/sbin/poweroff \
al@21020 21 ac_cv_func_setpgrp_void=yes \
al@21020 22 ./configure \
pascal@11216 23 --enable-usb \
pascal@11216 24 --disable-snmp \
pascal@11216 25 --disable-net \
pascal@11216 26 --with-upstype=usb \
pascal@11216 27 --with-dev= \
pascal@11216 28 --enable-cgi \
pascal@11216 29 $CONFIGURE_ARGS &&
al@21020 30 make &&
al@21020 31 make install || return 1
al@19265 32
al@19275 33 cook_pick_manpages $src/doc/*.5 $src/doc/*.8
pascal@11216 34 }