opt/at/Pkgfile

30 lines
809 B
Plaintext
Raw Normal View History

2006-02-23 16:26:10 +01:00
# Description: With at/atrun one can run commands at a specified time
2006-10-07 18:01:33 +02:00
# URL: N/A
2006-02-23 16:26:10 +01:00
# 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
}