2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2005-11-15 07:50:34 +01:00
|
|
|
#
|
|
|
|
# at
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-04-13 08:52:41 +02:00
|
|
|
|
|
|
|
AT_VERSION = 3.1.13
|
2010-01-28 16:03:06 +01:00
|
|
|
AT_SOURCE = at_$(AT_VERSION).orig.tar.gz
|
|
|
|
AT_SITE = $(BR2_DEBIAN_MIRROR)/debian/pool/main/a/at
|
2011-01-10 23:24:58 +01:00
|
|
|
# missing deps for parsetime.l
|
|
|
|
AT_MAKE = $(MAKE1)
|
2010-01-28 16:03:06 +01:00
|
|
|
AT_AUTORECONF = YES
|
2013-03-23 23:26:40 +01:00
|
|
|
AT_DEPENDENCIES = $(if $(BR2_PACKAGE_FLEX),flex) host-bison host-flex
|
2010-07-27 09:45:26 +02:00
|
|
|
|
2010-01-28 16:03:06 +01:00
|
|
|
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
|
|
|
|
|
2010-09-01 23:12:35 +02:00
|
|
|
define AT_INSTALL_INITSCRIPT
|
2010-12-09 10:55:12 +01:00
|
|
|
$(INSTALL) -m 0755 -D package/at/S99at $(TARGET_DIR)/etc/init.d/S99at
|
2010-09-01 23:12:35 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
AT_POST_INSTALL_TARGET_HOOKS += AT_INSTALL_INITSCRIPT
|
2005-11-15 07:50:34 +01:00
|
|
|
|
2010-09-01 23:12:35 +02:00
|
|
|
define AT_UNINSTALL_TARGET_CMDS
|
2010-01-28 16:03:06 +01:00
|
|
|
rm -rf $(addprefix $(TARGET_DIR),/usr/lib/atspool \
|
|
|
|
/usr/lib/atjobs \
|
|
|
|
/etc/at.deny \
|
|
|
|
/etc/init.d/S99at \
|
|
|
|
/usr/bin/at \
|
|
|
|
/usr/bin/atrm \
|
|
|
|
/usr/bin/atq \
|
|
|
|
/usr/sbin/atd \
|
|
|
|
/usr/sbin/atrun)
|
|
|
|
rm -f $(addprefix $(TARGET_DIR)/usr/man/man*/, \
|
|
|
|
at.1 atq.1 atrm.1 batch.1 at_allow.5 at_deny.5 atd.8 atrun.8)
|
2010-09-01 23:12:35 +02:00
|
|
|
endef
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|