milis/talimatname/genel/at/talimat

40 lines
1012 B
Plaintext
Raw Normal View History

2017-01-30 23:55:06 +01:00
# Description: Gecikmeli iş yürütme ve toplu işlem.
2016-02-24 01:27:23 +01:00
# URL: http://ftp.de.debian.org/debian/pool/main/a/at
2017-01-30 23:55:06 +01:00
# Packager: milisarge
2016-02-24 01:27:23 +01:00
# Depends on: sendmail pam
2017-01-30 23:55:06 +01:00
2016-02-24 01:27:23 +01:00
name=at
2017-01-30 23:55:06 +01:00
version=3.1.16
2016-02-24 01:27:23 +01:00
release=1
source=(http://ftp.de.debian.org/debian/pool/main/a/at/at_$version.orig.tar.gz)
2017-01-30 23:55:06 +01:00
2016-02-24 01:27:23 +01:00
build() {
cd $name-$version
2017-01-30 23:55:06 +01:00
2016-02-24 01:27:23 +01:00
source /etc/blfs-bootscripts
wget http://www.linuxfromscratch.org/blfs/downloads/svn/$scripts-$scriptsversion.tar.bz2
2017-01-30 23:55:06 +01:00
tar xvf $scripts-$scriptsversion.tar.bz2
2016-02-24 01:27:23 +01:00
install -v -m755 -d $PKG/root/at/atspool
install -v -m755 -d $PKG/root/at/atjobs
sed -i '/docdir/s/=.*/= @docdir@/' Makefile.in
2017-01-30 23:55:06 +01:00
2016-02-24 01:27:23 +01:00
./configure --with-daemon_username=atd \
--with-daemon_groupname=atd \
--with-jobdir=/root/at/atjobs \
--with-atspool=/root/at/atspool \
2017-01-30 23:55:06 +01:00
SENDMAIL=/usr/sbin/sendmail
2016-02-24 01:27:23 +01:00
make -j1
make DESTDIR=$PKG install \
docdir=$PKG/usr/share/doc/at-3.1.16 \
2017-01-30 23:55:06 +01:00
atdocdir=$PKG/usr/share/doc/at-3.1.16
2016-02-24 01:27:23 +01:00
cd $scripts-$scriptsversion
make DESTDIR=$PKG install-atd
2017-01-30 23:55:06 +01:00
2016-02-24 01:27:23 +01:00
}