wok-next diff apcupsd/receipt @ rev 11491
epdfview: fix build (thank godane)
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Mon Dec 19 02:49:30 2011 +0100 (2011-12-19) |
parents | |
children | 617dbdeb6f7e |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/apcupsd/receipt Mon Dec 19 02:49:30 2011 +0100 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 +}