blob: c28a8b41367806b64e731517f3e32a27bbdd46c8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
# Contributor: Alexander Belkov <msun00@yandex.ru>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=at
pkgver=3.2.4
pkgrel=0
pkgdesc="Delayed job execution and batch processing daemon"
url="http://blog.calhariz.com/index.php/tag/at"
arch="all"
options="!check suid" # No test suite.
license="GPL-2.0+"
depends="cmd:sendmail"
makedepends="byacc flex-dev ssmtp"
install="$pkgname.pre-install"
pkgusers="at"
pkggroups="at"
subpackages="$pkgname-doc $pkgname-openrc"
source="http://software.calhariz.com/at/at_${pkgver}.orig.tar.gz
10-parsetime.y-1.patch
10-Makefile.in-1.patch
at.allow
atd.initd
"
builddir="$srcdir/$pkgname-$pkgver"
prepare() {
default_prepare
update_config_guess
update_config_sub
}
build() {
LEXLIB=-lfl \
PATH=$PATH:/usr/sbin \
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sbindir=/usr/sbin \
--runstatedir=/var/run \
--with-daemon_username=at \
--with-daemon_groupname=at \
--with-jobdir=/var/spool/atd \
--with-atspool=/var/spool/atd
make
}
package() {
install -D -o root -g at -m 640 "$srcdir"/at.allow \
"$pkgdir"/etc/at.allow
make IROOT="$pkgdir" install
install -m 755 -D "$srcdir"/atd.initd \
"$pkgdir"/etc/init.d/atd
}
sha512sums="e1d3a1394e90686d4f99784aa3b49fccfda137f0cfb69b3369cff4bce8bda745c8bbf5ca9b8e0863a927eda1b16652562294ff0d4eafa11d121de8de321156a2 at_3.2.4.orig.tar.gz
ea663b4ad95761812d31333d0d75b20f7981932e5f2c2144d0aea14753534c240992c647a0d4edb55268f47a8f019da6ab3b9fc53807355a270338e2cd24bbc6 10-parsetime.y-1.patch
2db77ab2a8e252993f46d3f4f839ec79118008d2adc7daa22faab715f39b002c85284d68d9ad8b6a36f70bfd783a9018d50b5e495908871341444499419ee262 10-Makefile.in-1.patch
21e1bc024bd76c76b68e04614c6def5b03fd4b658e59bfde065b464b520f463711b795455e3a5c81a8a1946b2bca2f83d6c19300a4d3326ce17959a7cbc0846a at.allow
fe5c075566ef1955e0eb4b4446fe1ea401940df6e0f29e4e2f1baf93e231214db58c707e99b16bb3a3c8c288a05fc390a44c6f09fde50d31f0ac631a98d86c2d atd.initd"
|