blob: 6ac82e2de336f1da138366c6bd4f07d9b8eb0282 [file] [log] [blame]
################################################################################
#
# at
#
################################################################################
AT_VERSION = 3.2.1
AT_SOURCE = at-upstream-$(AT_VERSION).tar.bz2
AT_SITE = https://salsa.debian.org/debian/at/-/archive/upstream/$(AT_VERSION)
AT_AUTORECONF = YES
AT_DEPENDENCIES = $(if $(BR2_PACKAGE_FLEX),flex) host-bison host-flex
AT_LICENSE = GPL-2.0+, GPL-3.0+, ISC
AT_LICENSE_FILES = Copyright COPYING
AT_CONF_OPTS = \
--with-jobdir=/var/spool/cron/atjobs \
--with-atspool=/var/spool/cron/atspool \
--with-daemon_username=root \
--with-daemon_groupname=root \
SENDMAIL=/usr/sbin/sendmail
define AT_INSTALL_INIT_SYSV
$(INSTALL) -m 0755 -D package/at/S99at $(TARGET_DIR)/etc/init.d/S99at
endef
$(eval $(autotools-package))