wok view apcupsd/receipt @ rev 20505

partclone 0.2.89 -> 0.2.70: dpkg-architecture not used here
author Erkan Yilmaz <erkan@slitaz.org>
date Tue Oct 30 11:23:14 2018 +0000 (2018-10-30)
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 }