wok view apcupsd/receipt @ rev 13121

Up: tls to 1.6.
author Christopher Rogers <slaxemulator@gmail.com>
date Wed Jul 04 21:29:42 2012 +0000 (2012-07-04)
parents
children 617dbdeb6f7e
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 BUILD_DEPENDS="slitaz-dev-pkgs libgd-dev libgd"
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 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 sed -i 's/src platforms doc/src platforms/' Makefile
18 SHUTDOWN=/sbin/poweroff ac_cv_func_setpgrp_void=yes ./configure \
19 --enable-usb \
20 --disable-snmp \
21 --disable-net \
22 --with-upstype=usb \
23 --with-dev= \
24 --enable-threads \
25 --enable-cgi \
26 --prefix=/usr \
27 --infodir=/usr/share/info \
28 --mandir=/usr/share/man \
29 $CONFIGURE_ARGS &&
30 make && make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 cp -a $_pkg/* $fs
37 }