# This may install extra stuff (init scripts) if you're building a GARStow # system on top of a different distribution. GARNAME = apcupsd GARVERSION = 3.12.3 CATEGORIES = sys MASTER_SITES = $(MASTER_SOURCEFORGE) MASTER_SUBDIR = apcupsd/ DISTFILES = $(DISTNAME).tar.gz SIGFILES = $(DISTFILES).sig DESCRIPTION = Daemon to monitor APC UPSs HOME_URL = http://www.apcupsd.org/ CONFIGURE_SCRIPTS = $(WORKSRC)/configure BUILD_SCRIPTS = $(WORKSRC)/Makefile INSTALL_SCRIPTS = $(WORKSRC)/Makefile-DESTDIR CONFIGURE_ARGS = $(DIRPATHS) \ --enable-usb \ --enable-net \ --with-nologin=$(sysconfdir) \ --with-pid-dir=$(vardir)/run \ --with-log-dir=$(vardir)/log/apcupsd \ --with-lock-dir=$(vardir)/lock \ --with-pwrfail-dir=$(sysconfdir) \ --sysconfdir=$(sysconfdir)/apcupsd \ --sbindir=$(prefix)/sbin \ --mandir=$(prefix)/man include ../../gar.mk