summaryrefslogtreecommitdiffstats
path: root/fcron/Pkgfile
blob: dec4161e2c56462fb26d23dfeaab37e6d473bc9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Description: Gestionnaire de tâches planifiées
# URL: http://fcron.free.fr
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: linux-pam, pambase
# Run on: linux-pam,pambase

name=fcron
version=3.0.6
release=2
source=(http://fcron.free.fr/archives/$name-$version.src.tar.gz)

build() {
	unset MAKEFLAGS
	source /etc/blfs-bootscripts
	wget http://www.linuxfromscratch.org/blfs/downloads/svn/$scripts-$scriptsversion.tar.bz2
        tar xvf $scripts-$scriptsversion.tar.bz2

	cd $name-$version
        ./configure --prefix=/usr\
		--sysconfdir=/etc \
		--with-pam=yes \
		--without-sendmail\
		--localstatedir=/var \
		--with-boot-install=no \
		--mandir=/usr/share/man
	make
	mkdir $PKG/etc/pam.d -p
	make DESTDIR=$PKG install

	cd ../$scripts-$scriptsversion
	make DESTDIR=$PKG install-fcron
	rm -rf $PKG/usr/share/doc
}