On Sun, Jun 12, 2011 at 09:43:58AM +0200, Bernhard Walle wrote:
> Sitecopy is a simple tool to synchronize local and remote web site via FTP or
> WebDAV.
> 
> Signed-off-by: Bernhard Walle <bernh...@bwalle.de>
> 
> diff -r aaf41af0b677 -r cdce85a6b513 rules/sitecopy.in
> --- /dev/null Do Jan 01 00:00:00 1970 +0000
> +++ b/rules/sitecopy.in       So Jun 12 09:38:23 2011 +0200
> @@ -0,0 +1,8 @@
> +## SECTION=networking
> +
> +config SITECOPY
> +     tristate
> +     prompt "sitecopy"
> +     select LIBXML2

hmm, from "./configure --help" it looks like expat is possible too. I'd
like to see an option for that.

> +     help
> +       Synchronize local and remote web site via FTP or WebDAV
> diff -r aaf41af0b677 -r cdce85a6b513 rules/sitecopy.make
> --- /dev/null Do Jan 01 00:00:00 1970 +0000
> +++ b/rules/sitecopy.make     So Jun 12 09:38:23 2011 +0200
> @@ -0,0 +1,64 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2011 by Bernhard Walle <bernh...@bwalle.de>
> +#
> +# See CREDITS for details about who has contributed to this project.
> +#
> +# For further information about the PTXdist project and license conditions
> +# see the README file.
> +#
> +
> +#
> +# We provide this package
> +#
> +PACKAGES-$(PTXCONF_SITECOPY) += sitecopy
> +
> +#
> +# Paths and names
> +#
> +SITECOPY_VERSION     := 0.16.6
> +SITECOPY_MD5         := b3aeb5a5f00af3db90b408e8c32a6c01
> +SITECOPY             := sitecopy-$(SITECOPY_VERSION)
> +SITECOPY_SUFFIX              := tar.gz
> +SITECOPY_URL         := 
> http://www.manyfish.co.uk/sitecopy/$(SITECOPY).$(SITECOPY_SUFFIX)
> +SITECOPY_SOURCE      :=      $(SRCDIR)/$(SITECOPY).$(SITECOPY_SUFFIX)
> +SITECOPY_DIR         := $(BUILDDIR)/$(SITECOPY)
> +SITECOPY_LICENSE     := unknown
> +
> +# 
> ----------------------------------------------------------------------------
> +# Get
> +# 
> ----------------------------------------------------------------------------
> +
> +$(SITECOPY_SOURCE):
> +     @$(call targetinfo)
> +     @$(call get, SITECOPY)

remove.

> +
> +# 
> ----------------------------------------------------------------------------
> +# Prepare
> +# 
> ----------------------------------------------------------------------------
> +
> +#
> +# autoconf
> +#
> +SITECOPY_CONF_TOOL   := autoconf

configure has a lot of options. Please add --disable-*, --without-* for
everything, that's not used.

Michael

> +
> +# 
> ----------------------------------------------------------------------------
> +# Target-Install
> +# 
> ----------------------------------------------------------------------------
> +
> +$(STATEDIR)/sitecopy.targetinstall:
> +     @$(call targetinfo)
> +
> +     @$(call install_init, sitecopy)
> +     @$(call install_fixup, sitecopy,PRIORITY,optional)
> +     @$(call install_fixup, sitecopy,SECTION,base)
> +     @$(call install_fixup, sitecopy,AUTHOR,"Bernhard Walle 
> <bernh...@bwalle.de>")
> +     @$(call install_fixup, sitecopy,DESCRIPTION,missing)
> +
> +     @$(call install_copy, sitecopy, 0, 0, 0755, -, /usr/bin/sitecopy)
> +
> +     @$(call install_finish, sitecopy)
> +
> +     @$(call touch)
> +
> +# vim: syntax=make
> 
> -- 
> ptxdist mailing list
> ptxdist@pengutronix.de
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

Reply via email to