wok view apcupsd/receipt @ rev 15728
Up: xorg-xf86-input-mutouch (1.3.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Dec 26 19:40:15 2013 +0000 (2013-12-26) |
parents | 7df05207d343 |
children | f0a0b5091b4a |
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 cd $src
19 sed -i 's/src platforms doc/src platforms/' Makefile
20 SHUTDOWN=/sbin/poweroff ac_cv_func_setpgrp_void=yes ./configure \
21 --enable-usb \
22 --disable-snmp \
23 --disable-net \
24 --with-upstype=usb \
25 --with-dev= \
26 --enable-threads \
27 --enable-cgi \
28 --prefix=/usr \
29 --infodir=/usr/share/info \
30 --mandir=/usr/share/man \
31 $CONFIGURE_ARGS &&
32 make && make install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 cp -a $install/* $fs
39 }