wok annotate apcupsd/receipt @ rev 14481

gst-plugins-bad-dev: update deps+bdeps
author Dominique Corbex <domcox@slitaz.org>
date Thu May 02 22:43:30 2013 +0200 (2013-05-02)
parents
children 617dbdeb6f7e
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@11216 8 BUILD_DEPENDS="slitaz-dev-pkgs libgd-dev libgd"
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@11216 13 # Rules to configure and make the package.
pascal@11216 14 compile_rules()
pascal@11216 15 {
pascal@11216 16 cd $src
pascal@11216 17 sed -i 's/src platforms doc/src platforms/' Makefile
pascal@11216 18 SHUTDOWN=/sbin/poweroff ac_cv_func_setpgrp_void=yes ./configure \
pascal@11216 19 --enable-usb \
pascal@11216 20 --disable-snmp \
pascal@11216 21 --disable-net \
pascal@11216 22 --with-upstype=usb \
pascal@11216 23 --with-dev= \
pascal@11216 24 --enable-threads \
pascal@11216 25 --enable-cgi \
pascal@11216 26 --prefix=/usr \
pascal@11216 27 --infodir=/usr/share/info \
pascal@11216 28 --mandir=/usr/share/man \
pascal@11216 29 $CONFIGURE_ARGS &&
pascal@11216 30 make && make install
pascal@11216 31 }
pascal@11216 32
pascal@11216 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11216 34 genpkg_rules()
pascal@11216 35 {
pascal@11216 36 cp -a $_pkg/* $fs
pascal@11216 37 }