wok diff fcron/receipt @ rev 24765

afpfs-ng,btfs,curlftpfs,ddumbfs,djmount,encfs,exfat-utils,fusecloop,fusedav,fuseiso,httpfs2-fuse: try fuse2
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 18 17:45:47 2022 +0000 (2022-03-18)
parents d8c511e24c20
children
line diff
     1.1 --- a/fcron/receipt	Fri Feb 18 22:59:06 2022 +0000
     1.2 +++ b/fcron/receipt	Fri Mar 18 17:45:47 2022 +0000
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="fcron"
     1.7 -VERSION="3.2.1"
     1.8 +VERSION="3.3.1"
     1.9  CATEGORY="network"
    1.10  TAGS="cron scheduler"
    1.11  SHORT_DESC="Periodical command scheduler."
    1.12 @@ -12,7 +12,7 @@
    1.13  TARBALL="$PACKAGE-$VERSION.src.tar.gz"
    1.14  WGET_URL="http://fcron.free.fr/archives/$TARBALL"
    1.15  
    1.16 -DEPENDS=""
    1.17 +DEPENDS="readline"
    1.18  BUILD_DEPENDS="perl readline-dev"
    1.19  
    1.20  # What is the latest version available today?
    1.21 @@ -25,23 +25,24 @@
    1.22  # Rules to configure and make the package.
    1.23  compile_rules()
    1.24  {
    1.25 -	./configure					\
    1.26 -		--prefix=/usr				\
    1.27 -		--sysconfdir=/etc			\
    1.28 -		--localstatedir=/var			\
    1.29 -		--without-sendmail			\
    1.30 -		--with-username=nobody			\
    1.31 -		--with-groupname=nogroup		\
    1.32 -		--with-pam=no				\
    1.33 -		--with-selinux=no			\
    1.34 -		--with-answer-all=no			\
    1.35 -		--with-boot-install=no			\
    1.36 -		--with-editor=/bin/vi			\
    1.37 -		--with-sysfcrontab=yes			\
    1.38 -		--with-systemdsystemunitdir=none	\
    1.39 +	./configure				\
    1.40 +		LIBS="-lrt"			\
    1.41 +		--prefix=/usr			\
    1.42 +		--sysconfdir=/etc		\
    1.43 +		--localstatedir=/var		\
    1.44 +		--without-sendmail		\
    1.45 +		--with-answer-all=no		\
    1.46 +		--with-boot-install=no		\
    1.47 +		--with-editor=/bin/vi		\
    1.48 +		--with-groupname=nogroup	\
    1.49 +		--with-pam=no			\
    1.50 +		--with-selinux=no		\
    1.51 +		--with-sysfcrontab=yes		\
    1.52 +		--with-systemdsystemunitdir=no	\
    1.53 +		--with-username=nobody		\
    1.54  		$CONFIGURE_ARGS &&
    1.55  	make &&
    1.56 -	make DESTDIR=$DESTDIR install
    1.57 +	make install DESTDIR=$DESTDIR
    1.58  }
    1.59  
    1.60  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.61 @@ -57,3 +58,18 @@
    1.62  
    1.63  	cp -a stuff/fcron		$fs/etc/init.d
    1.64  }
    1.65 +
    1.66 +# Post install commands for Tazpkg
    1.67 +post_install()
    1.68 +{
    1.69 +	if ! grep -q ^FCRON_OPTIONS "$1/etc/daemons.conf"
    1.70 +	  then
    1.71 +		echo -e '
    1.72 +# inserted by post_install of fcron:
    1.73 +# Fcron daemon options.
    1.74 +FCRON_OPTIONS="-b"
    1.75 +
    1.76 +' >> "$1/etc/daemons.conf"
    1.77 +	fi
    1.78 +}
    1.79 +