wok diff fcron/receipt @ rev 4395

tazbb: allow packages with symlinks only (typo)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Oct 16 15:46:45 2009 +0200 (2009-10-16)
parents
children fb8aceda65ff
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/fcron/receipt	Fri Oct 16 15:46:45 2009 +0200
     1.3 @@ -0,0 +1,45 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="fcron"
     1.7 +VERSION="3.0.4"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="Periodical command scheduler"
    1.10 +MAINTAINER="erjo@slitaz.org"
    1.11 +DEPENDS=""
    1.12 +TARBALL="$PACKAGE-$VERSION.src.tar.gz"
    1.13 +WEB_SITE="http://fcron.free.fr/"
    1.14 +WGET_URL="http://fcron.free.fr/archives/$TARBALL"
    1.15 +
    1.16 +# Rules to configure and make the package.
    1.17 +compile_rules()
    1.18 +{
    1.19 +	cd $src
    1.20 +	./configure \
    1.21 +		--prefix=/usr \
    1.22 +		--sysconfdir=/etc \
    1.23 +		--localstatedir=/var \
    1.24 +		--without-sendmail \
    1.25 +		--with-username=nobody \
    1.26 +		--with-groupname=nogroup \
    1.27 +		--with-pam=no \
    1.28 +		--with-selinux=no \
    1.29 +		--with-answer-all=no \
    1.30 +		--with-boot-install=no \
    1.31 +		--with-editor=/bin/vi \
    1.32 +		--with-sysfcrontab=yes \
    1.33 +		$CONFIGURE_ARGS &&
    1.34 +	make && make DESTDIR=$PWD/_pkg install
    1.35 +}
    1.36 +
    1.37 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.38 +genpkg_rules()
    1.39 +{
    1.40 +	mkdir -p $fs/usr/
    1.41 +	cp -a $_pkg/usr/bin $fs/usr
    1.42 +	cp -a $_pkg/var $fs/
    1.43 +	cp -a $_pkg/etc $fs/
    1.44 +	cp -a $src/fcron $fs/usr/bin
    1.45 +	
    1.46 +	cp -a stuff/fcron $fs/etc/init.d
    1.47 +}
    1.48 +