wok-next view apcupsd/receipt @ rev 20332
Up exosip, httpfs-fuse, libvncserver, upx; add upx391 (for httpfs-fuse)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Nov 15 14:21:32 2017 +0200 (2017-11-15) |
parents | f0a0b5091b4a |
children | 577783a50854 |
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 }