Merge pull request #10068 from gentoo-root/master

apcupsd: Preset binaries used on target system
This commit is contained in:
Rosen Penev 2019-09-26 13:22:19 -07:00 committed by GitHub
commit 07f664b3a1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=apcupsd
PKG_VERSION:=3.14.14
PKG_RELEASE:=2
PKG_RELEASE:=3
PKG_MAINTAINER:=Othmar Truniger <github@truniger.ch>
PKG_LICENSE:=GPL-2.0
@ -40,7 +40,7 @@ define Package/apcupsd-cgi
URL:=http://www.apcupsd.org/
endef
CONFIGURE_VARS += SHUTDOWN=/sbin/halt
CONFIGURE_VARS += SHUTDOWN=/sbin/halt SCRIPTSHELL=/bin/sh WALL=/bin/true APCUPSD_MAIL=/bin/true
define Build/Configure
$(CP) $(SCRIPT_DIR)/config.* $(PKG_BUILD_DIR)/autoconf/