wok diff apcupsd/receipt @ rev 14559

thunderbird-langpack-pt_PT: Up to 17.0.6esr
author Dominique Corbex <domcox@slitaz.org>
date Thu May 23 10:10:42 2013 +0200 (2013-05-23)
parents
children 617dbdeb6f7e
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/apcupsd/receipt	Thu May 23 10:10:42 2013 +0200
     1.3 @@ -0,0 +1,37 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="apcupsd"
     1.7 +VERSION="3.14.9"
     1.8 +CATEGORY="system-tools"
     1.9 +SHORT_DESC="APC UPS Power Management (daemon)"
    1.10 +MAINTAINER="devel@slitaz.org"
    1.11 +BUILD_DEPENDS="slitaz-dev-pkgs libgd-dev libgd"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +WEB_SITE="http://www.apcupsd.com/"
    1.14 +WGET_URL="http://netcologne.dl.sourceforge.net/project/$PACKAGE/$PACKAGE%20-%20Stable/$VERSION/$TARBALL"
    1.15 +
    1.16 +# Rules to configure and make the package.
    1.17 +compile_rules()
    1.18 +{
    1.19 +	cd $src
    1.20 +	sed -i 's/src platforms doc/src platforms/' Makefile
    1.21 +	SHUTDOWN=/sbin/poweroff ac_cv_func_setpgrp_void=yes ./configure \
    1.22 +		--enable-usb \
    1.23 +		--disable-snmp \
    1.24 +		--disable-net \
    1.25 +		--with-upstype=usb \
    1.26 +		--with-dev= \
    1.27 +		--enable-threads \
    1.28 +		--enable-cgi \
    1.29 +		--prefix=/usr \
    1.30 +		--infodir=/usr/share/info \
    1.31 +		--mandir=/usr/share/man \
    1.32 +		$CONFIGURE_ARGS &&
    1.33 +	make && make install
    1.34 +}
    1.35 +
    1.36 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.37 +genpkg_rules()
    1.38 +{
    1.39 +	cp -a $_pkg/* $fs
    1.40 +}