e1502ebc0c
Also remove the redundant $(call ...). This is a purely mechanical change, performed with find package linux toolchain boot -name \*.mk | \ xargs sed -i -e 's/$(eval $(call GENTARGETS))/$(eval $(generic-package))/' \ -e 's/$(eval $(call AUTOTARGETS))/$(eval $(autotools-package))/' \ -e 's/$(eval $(call CMAKETARGETS))/$(eval $(cmake-package))/' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
42 lines
1.1 KiB
Makefile
42 lines
1.1 KiB
Makefile
#############################################################
|
|
#
|
|
# at
|
|
#
|
|
#############################################################
|
|
AT_VERSION = 3.1.12
|
|
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)
|
|
|
|
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
|
|
|
|
define AT_UNINSTALL_TARGET_CMDS
|
|
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)
|
|
endef
|
|
|
|
$(eval $(autotools-package))
|