wok-next diff fcron/receipt @ rev 20811

blazekiss: up (20170630); add icons
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Jun 13 16:49:32 2018 +0300 (2018-06-13)
parents 7f188676b59c
children d5aab818505e
line diff
     1.1 --- a/fcron/receipt	Thu May 26 20:16:45 2016 +0300
     1.2 +++ b/fcron/receipt	Wed Jun 13 16:49:32 2018 +0300
     1.3 @@ -1,4 +1,4 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="fcron"
     1.8  VERSION="3.0.4"
     1.9 @@ -6,21 +6,15 @@
    1.10  SHORT_DESC="Periodical command scheduler"
    1.11  MAINTAINER="erjo@slitaz.org"
    1.12  LICENSE="GPL"
    1.13 +WEB_SITE="http://fcron.free.fr/"
    1.14 +
    1.15  TARBALL="$PACKAGE-$VERSION.src.tar.gz"
    1.16 -WEB_SITE="http://fcron.free.fr/"
    1.17  WGET_URL="http://fcron.free.fr/archives/$TARBALL"
    1.18 -TAGS="cron scheduler"
    1.19  
    1.20 -DEPENDS=""
    1.21  BUILD_DEPENDS="perl"
    1.22  
    1.23 -# Rules to configure and make the package.
    1.24 -compile_rules()
    1.25 -{
    1.26 +compile_rules() {
    1.27  	./configure \
    1.28 -		--prefix=/usr \
    1.29 -		--sysconfdir=/etc \
    1.30 -		--localstatedir=/var \
    1.31  		--without-sendmail \
    1.32  		--with-username=nobody \
    1.33  		--with-groupname=nogroup \
    1.34 @@ -31,18 +25,13 @@
    1.35  		--with-editor=/bin/vi \
    1.36  		--with-sysfcrontab=yes \
    1.37  		$CONFIGURE_ARGS &&
    1.38 -	make && make -j1 DESTDIR=$DESTDIR install
    1.39 +	make &&
    1.40 +	make -j1 DESTDIR=$DESTDIR install || return 1
    1.41 +
    1.42 +	install -Dm755 $stuff/fcron $install/etc/init.d/fcron
    1.43  }
    1.44  
    1.45 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.46 -genpkg_rules()
    1.47 -{
    1.48 -	mkdir -p $fs/usr/ $fs/etc/init.d
    1.49 -
    1.50 -	cp -a $install/usr/bin $fs/usr
    1.51 -	cp -a $install/usr/sbin/fcron $fs/usr/bin
    1.52 -	cp -a $install/var $fs
    1.53 -	cp -a $install/etc $fs
    1.54 -
    1.55 -	cp -a stuff/fcron $fs/etc/init.d
    1.56 +genpkg_rules() {
    1.57 +	copy @std
    1.58 +	TAGS="cron scheduler"
    1.59  }