summaryrefslogtreecommitdiffstats
path: root/fcron/Pkgfile
blob: 563407a7ee2a3774245ed29149f2c8da6e6fd888 (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
36
# 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=2
source=(http://fcron.free.fr/archives/$name-$version.src.tar.gz \
        fcron)

build() {
	unset MAKEFLAGS
	source /etc/blfs-bootscripts
wget \
http://nutyx.meticul.eu/files/patchs/aaabasicfs/$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/
}