eb7bd9ef61
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
29 lines
837 B
Makefile
29 lines
837 B
Makefile
################################################################################
|
|
#
|
|
# at
|
|
#
|
|
################################################################################
|
|
|
|
AT_VERSION = 3.1.13
|
|
AT_SOURCE = at_$(AT_VERSION).orig.tar.gz
|
|
AT_SITE = $(BR2_DEBIAN_MIRROR)/debian/pool/main/a/at
|
|
# missing deps for parsetime.l
|
|
AT_MAKE = $(MAKE1)
|
|
AT_AUTORECONF = YES
|
|
AT_DEPENDENCIES = $(if $(BR2_PACKAGE_FLEX),flex) host-bison host-flex
|
|
|
|
AT_CONF_OPT = \
|
|
--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_INITSCRIPT
|
|
$(INSTALL) -m 0755 -D package/at/S99at $(TARGET_DIR)/etc/init.d/S99at
|
|
endef
|
|
|
|
AT_POST_INSTALL_TARGET_HOOKS += AT_INSTALL_INITSCRIPT
|
|
|
|
$(eval $(autotools-package))
|