summaryrefslogtreecommitdiffstats
path: root/extra/fcron/Pkgfile
blob: 8ee2f5f186abd14d1e386edc4129b1425a39f66a (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:

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 \
			    --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/
}