wok-current annotate 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 |
rev | line source |
---|---|
pascal@11216 | 1 # SliTaz package receipt. |
pascal@11216 | 2 |
pascal@11216 | 3 PACKAGE="apcupsd" |
Hans-G?nter@22487 | 4 VERSION="3.14.14" |
pascal@11216 | 5 CATEGORY="system-tools" |
Hans-G?nter@22487 | 6 SHORT_DESC="APC UPS Power Management (daemon)." |
Hans-G?nter@22487 | 7 MAINTAINER="maintainer@slitaz.org" |
pascal@15362 | 8 LICENSE="GPL2" |
Hans-G?nter@22487 | 9 WEB_SITE="http://www.apcupsd.com/" |
Hans-G?nter@22487 | 10 |
pascal@11216 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@22487 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@11216 | 13 |
Hans-G?nter@22487 | 14 BUILD_DEPENDS="libgd libgd-dev slitaz-dev-pkgs" |
pascal@15362 | 15 |
pascal@11216 | 16 # Rules to configure and make the package. |
pascal@11216 | 17 compile_rules() |
pascal@11216 | 18 { |
pascal@11216 | 19 sed -i 's/src platforms doc/src platforms/' Makefile |
Hans-G?nter@22487 | 20 SHUTDOWN=/sbin/poweroff ac_cv_func_setpgrp_void=yes \ |
Hans-G?nter@22487 | 21 ./configure \ |
Hans-G?nter@22487 | 22 --enable-usb \ |
Hans-G?nter@22487 | 23 --disable-snmp \ |
Hans-G?nter@22487 | 24 --disable-net \ |
Hans-G?nter@22487 | 25 --with-upstype=usb \ |
Hans-G?nter@22487 | 26 --with-dev= \ |
Hans-G?nter@22487 | 27 --enable-threads \ |
Hans-G?nter@22487 | 28 --enable-cgi \ |
Hans-G?nter@22487 | 29 --prefix=/usr \ |
Hans-G?nter@22487 | 30 --infodir=/usr/share/info \ |
Hans-G?nter@22487 | 31 --mandir=/usr/share/man \ |
pascal@11216 | 32 $CONFIGURE_ARGS && |
Hans-G?nter@22487 | 33 make && |
Hans-G?nter@22487 | 34 make install |
al@19265 | 35 |
al@19275 | 36 cook_pick_manpages $src/doc/*.5 $src/doc/*.8 |
pascal@11216 | 37 } |
pascal@11216 | 38 |
pascal@11216 | 39 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11216 | 40 genpkg_rules() |
pascal@11216 | 41 { |
pascal@15362 | 42 cp -a $install/* $fs |
al@19275 | 43 rm -r $fs/usr/share/man |
pascal@11216 | 44 } |