29 lines
798 B
Plaintext
29 lines
798 B
Plaintext
# Description: With at/atrun one can run commands at a specified time
|
|
# Maintainer: sten, nick dot steeves at shaw dot ca
|
|
# Packager: Olle Gustafsson, ogg at linux dot se
|
|
# Depends on: sendmail
|
|
|
|
name=at
|
|
version=3.1.8
|
|
release=2
|
|
source=(http://ftp.sunet.se/pub/Linux/distributions/gentoo/distfiles/at_3.1.8-11.tar.gz atd)
|
|
|
|
build() {
|
|
mkdir -p $PKG/etc/rc.d
|
|
install -m 755 atd $PKG/etc/rc.d/atd
|
|
cd $name-$version
|
|
./configure --prefix=/usr \
|
|
--disable-nls \
|
|
--with-jobdir=/var/spool/cron/atjobs/ \
|
|
--with-atspool=/var/spool/cron/atspool
|
|
make
|
|
make IROOT=$PKG install
|
|
cd $PKG/usr/man/man1
|
|
ln -sf at.1.gz atq.1.gz
|
|
ln -sf at.1.gz atrm.1.gz
|
|
ln -sf at.1.gz batch.1.gz
|
|
cd $PKG/usr/man/man5
|
|
ln -sf at_allow.5.gz at_deny.5.gz
|
|
rm -rf $PKG/usr/doc
|
|
}
|