milis/talimatname/genel/a/at/talimat

40 lines
997 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: Gecikmeli iş yürütme ve toplu işlem.
# URL: http://ftp.de.debian.org/debian/pool/main/a/at
# Paketçi: milisarge
# Gerekler: sendmail pam
isim=at
surum=3.1.16
devir=1
kaynak=(http://ftp.de.debian.org/debian/pool/main/a/at/at_$surum.orig.tar.gz)
derle() {
cd $isim-$surum
source /etc/blfs-bootscripts
wget http://www.linuxfromscratch.org/blfs/downloads/svn/$scripts-$scriptsversion.tar.bz2
tar xvf $scripts-$scriptsversion.tar.bz2
install -v -m755 -d $PKG/root/at/atspool
install -v -m755 -d $PKG/root/at/atjobs
sed -i '/docdir/s/=.*/= @docdir@/' Makefile.in
./configure --with-daemon_userisim=atd \
--with-daemon_groupisim=atd \
--with-jobdir=/root/at/atjobs \
--with-atspool=/root/at/atspool \
SENDMAIL=/usr/sbin/sendmail
make -j1
make DESTDIR=$PKG install \
docdir=$PKG/usr/share/doc/at-3.1.16 \
atdocdir=$PKG/usr/share/doc/at-3.1.16
cd $scripts-$scriptsversion
make DESTDIR=$PKG install-atd
}