wok-current annotate apcupsd/receipt @ rev 16194

libxcb: back to 1.9.1 for ARM (1.10 is needed for wayland)
author Christophe Lincoln <pankso@slitaz.org>
date Sun Mar 30 22:07:59 2014 +0200 (2014-03-30)
parents 7df05207d343
children f0a0b5091b4a
rev   line source
pascal@11216 1 # SliTaz package receipt.
pascal@11216 2
pascal@11216 3 PACKAGE="apcupsd"
pascal@11216 4 VERSION="3.14.9"
pascal@11216 5 CATEGORY="system-tools"
pascal@11216 6 SHORT_DESC="APC UPS Power Management (daemon)"
pascal@11216 7 MAINTAINER="devel@slitaz.org"
pascal@15362 8 LICENSE="GPL2"
pascal@11216 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@11216 10 WEB_SITE="http://www.apcupsd.com/"
pascal@11216 11 WGET_URL="http://netcologne.dl.sourceforge.net/project/$PACKAGE/$PACKAGE%20-%20Stable/$VERSION/$TARBALL"
pascal@11216 12
pascal@15362 13 BUILD_DEPENDS="slitaz-dev-pkgs libgd-dev libgd"
pascal@15362 14
pascal@11216 15 # Rules to configure and make the package.
pascal@11216 16 compile_rules()
pascal@11216 17 {
pascal@11216 18 cd $src
pascal@11216 19 sed -i 's/src platforms doc/src platforms/' Makefile
pascal@11216 20 SHUTDOWN=/sbin/poweroff ac_cv_func_setpgrp_void=yes ./configure \
pascal@11216 21 --enable-usb \
pascal@11216 22 --disable-snmp \
pascal@11216 23 --disable-net \
pascal@11216 24 --with-upstype=usb \
pascal@11216 25 --with-dev= \
pascal@11216 26 --enable-threads \
pascal@11216 27 --enable-cgi \
pascal@11216 28 --prefix=/usr \
pascal@11216 29 --infodir=/usr/share/info \
pascal@11216 30 --mandir=/usr/share/man \
pascal@11216 31 $CONFIGURE_ARGS &&
pascal@11216 32 make && make install
pascal@11216 33 }
pascal@11216 34
pascal@11216 35 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11216 36 genpkg_rules()
pascal@11216 37 {
pascal@15362 38 cp -a $install/* $fs
pascal@11216 39 }