2 # Copyright (C) 2008-2015 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
16 PKG_SOURCE_URL
:=https
://salsa.debian.org
/debian
/at.git
17 PKG_SOURCE_VERSION
:=release
/3.2.1
18 PKG_MIRROR_HASH
=c37feb425e7d310f29b4c8dffd846b8a3b410ff6e88a6563f0ecaa636fb22cc2
20 PKG_MAINTAINER
:=Phil Eichinger
<phil@zankapfel.net
>
21 PKG_LICENSE
:=GPL-2.0
-or-later GPL-3.0
-or-later ISC
22 PKG_LICENSE_FILES
:=COPYING Copyright
24 include $(INCLUDE_DIR
)/package.mk
30 TITLE
:=Delayed job execution and batch processing
31 URL
:=http
://packages.debian.org
/stable
/at
34 define Package
/at
/description
35 At and batch read
shell commands from standard input storing them
as a job to
36 be scheduled for execution in the future.
39 export SENDMAIL
=/bin
/true
40 EXTRA_CFLAGS
:=-DNEED_YYWRAP
-I
$(PKG_BUILD_DIR
) \
46 --with-daemon_username
=nobody \
47 --with-daemon_groupname
=nogroup \
48 --with-jobdir
=/var
/spool
/cron
/atjobs \
49 --with-atspool
=/var
/spool
/cron
/atspool
52 ac_cv_header_security_pam_appl_h
=no
54 define Package
/at
/install
55 $(INSTALL_DIR
) $(1)/usr
/bin
$(1)/usr
/sbin
$(1)/etc
/init.d
/
56 $(INSTALL_BIN
) .
/files
/atd.init
$(1)/etc
/init.d
/atd
57 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/at
$(1)/usr
/bin
58 ln
-sf at
$(1)/usr
/bin
/atq
59 ln
-sf at
$(1)/usr
/bin
/atrm
60 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/atd
$(1)/usr
/sbin
63 $(eval
$(call BuildPackage
,at
))