summaryrefslogtreecommitdiffstats
path: root/base/fcron/Pkgfile
blob: 77ba1f3b5f3b8d0c33b41b2955186ef989344fc0 (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
35
# Description: Gestionnaire de tâches planifiées
# URL: http://fcron.free.fr
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on:

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

build() {
	source /etc/blfs-bootscripts
wget \
http://www.linuxfromscratch.org/blfs/downloads/svn/$scripts-$scriptsversion.tar.bz2
        tar xvf $scripts-$scriptsversion.tar.bz2
	# build package
		cd $name-$version
                ./configure --prefix=/usr\
			--sysconfdir=/etc \
			--with-pam=no \
			    --without-sendmail\
			--localstatedir=/var \
			    --with-boot-install=no\
                            --mandir=/usr/share/man\
                            --infodir=/usr/share/info
		make
		make DESTDIR=$PKG install
	# Install the script
        cd ../$scripts-$scriptsversion
	make DESTDIR=$PKG install-fcron
	rm -rf $PKG/usr/share/doc
#	install -m755 ../fcron $PKG/etc/rc.d/init.d/
}