wok-current diff fcron/receipt @ rev 24353

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 03 12:55:23 2022 +0000 (2022-02-03)
parents 7f188676b59c
children d8c511e24c20
line diff
     1.1 --- a/fcron/receipt	Thu May 26 20:16:45 2016 +0300
     1.2 +++ b/fcron/receipt	Thu Feb 03 12:55:23 2022 +0000
     1.3 @@ -1,48 +1,52 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="fcron"
     1.7 -VERSION="3.0.4"
     1.8 +VERSION="3.2.1"
     1.9  CATEGORY="network"
    1.10 -SHORT_DESC="Periodical command scheduler"
    1.11 +TAGS="cron scheduler"
    1.12 +SHORT_DESC="Periodical command scheduler."
    1.13  MAINTAINER="erjo@slitaz.org"
    1.14  LICENSE="GPL"
    1.15 +WEB_SITE="http://fcron.free.fr/"
    1.16 +
    1.17  TARBALL="$PACKAGE-$VERSION.src.tar.gz"
    1.18 -WEB_SITE="http://fcron.free.fr/"
    1.19  WGET_URL="http://fcron.free.fr/archives/$TARBALL"
    1.20 -TAGS="cron scheduler"
    1.21  
    1.22  DEPENDS=""
    1.23 -BUILD_DEPENDS="perl"
    1.24 +BUILD_DEPENDS="perl readline-dev"
    1.25  
    1.26  # Rules to configure and make the package.
    1.27  compile_rules()
    1.28  {
    1.29 -	./configure \
    1.30 -		--prefix=/usr \
    1.31 -		--sysconfdir=/etc \
    1.32 -		--localstatedir=/var \
    1.33 -		--without-sendmail \
    1.34 -		--with-username=nobody \
    1.35 -		--with-groupname=nogroup \
    1.36 -		--with-pam=no \
    1.37 -		--with-selinux=no \
    1.38 -		--with-answer-all=no \
    1.39 -		--with-boot-install=no \
    1.40 -		--with-editor=/bin/vi \
    1.41 -		--with-sysfcrontab=yes \
    1.42 +	./configure					\
    1.43 +		--prefix=/usr				\
    1.44 +		--sysconfdir=/etc			\
    1.45 +		--localstatedir=/var			\
    1.46 +		--without-sendmail			\
    1.47 +		--with-username=nobody			\
    1.48 +		--with-groupname=nogroup		\
    1.49 +		--with-pam=no				\
    1.50 +		--with-selinux=no			\
    1.51 +		--with-answer-all=no			\
    1.52 +		--with-boot-install=no			\
    1.53 +		--with-editor=/bin/vi			\
    1.54 +		--with-sysfcrontab=yes			\
    1.55 +		--with-systemdsystemunitdir=none	\
    1.56  		$CONFIGURE_ARGS &&
    1.57 -	make && make -j1 DESTDIR=$DESTDIR install
    1.58 +	make &&
    1.59 +	make DESTDIR=$DESTDIR install
    1.60  }
    1.61  
    1.62  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.63  genpkg_rules()
    1.64  {
    1.65 -	mkdir -p $fs/usr/ $fs/etc/init.d
    1.66 +	mkdir -p $fs/usr/
    1.67 +	mkdir -p $fs/etc/init.d
    1.68  
    1.69 -	cp -a $install/usr/bin $fs/usr
    1.70 -	cp -a $install/usr/sbin/fcron $fs/usr/bin
    1.71 -	cp -a $install/var $fs
    1.72 -	cp -a $install/etc $fs
    1.73 +	cp -a $install/usr/bin		$fs/usr
    1.74 +	cp -a $install/usr/sbin/fcron	$fs/usr/bin
    1.75 +	cp -a $install/var		$fs
    1.76 +	cp -a $install/etc		$fs
    1.77  
    1.78 -	cp -a stuff/fcron $fs/etc/init.d
    1.79 +	cp -a stuff/fcron		$fs/etc/init.d
    1.80  }