2005-11-15 07:50:34 +01:00
|
|
|
#############################################################
|
|
|
|
#
|
|
|
|
# at
|
|
|
|
#
|
|
|
|
#############################################################
|
2010-01-28 16:03:06 +01:00
|
|
|
AT_VERSION = 3.1.12
|
|
|
|
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
|
|
|
|
AT_INSTALL_STAGING = NO
|
|
|
|
AT_INSTALL_TARGET = YES
|
|
|
|
|
2010-07-27 09:45:26 +02:00
|
|
|
AT_DEPENDENCIES = $(if $(BR2_PACKAGE_FLEX),flex)
|
|
|
|
|
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
|
|
|
|
|
|
|
|
$(eval $(call AUTOTARGETS,package,at))
|