milis/talimatname/genel/f/fcron/talimat

36 lines
916 B
Plaintext
Raw Normal View History

2017-03-23 12:52:53 +01:00
# Description: Özellik açısından zengin cron uygulaması
2016-02-24 01:27:23 +01:00
# URL: http://fcron.free.fr
2017-01-31 01:37:09 +01:00
# Packager: milisarge
# Depends on:
2016-02-24 01:27:23 +01:00
name=fcron
version=3.2.0
release=1
source=(http://fcron.free.fr/archives/$name-$version.src.tar.gz )
2017-01-31 01:37:09 +01:00
2016-02-24 01:27:23 +01:00
build() {
unset MAKEFLAGS
2017-01-31 01:37:09 +01:00
source /etc/blfs-bootscripts
wget http://www.linuxfromscratch.org/blfs/downloads/svn/$scripts-$scriptsversion.tar.bz2
tar xf $scripts-$scriptsversion.tar.bz2
2016-02-24 01:27:23 +01:00
# build package
cd $name-$version
./configure --prefix=/usr --sysconfdir=/etc \
--without-sendmail --localstatedir=/var \
--with-boot-install=no --mandir=/usr/share/man \
--infodir=/usr/share/info \
--with-systemdsystemunitdir=no
make
make DESTDIR=$PKG install
rm $PKG/etc/pam.conf
mkdir -p $PKG/etc/pam.d
for i in fcron fcrontab
do install -D -m644 files/fcron.pam $PKG/etc/pam.d/$i
done
# Install the script
cd ../$scripts-$scriptsversion
make DESTDIR=$PKG install-fcron
rm -rf $PKG/usr/share/doc
}