diff options
author | Carsten Schlote <c.schlote@konzeptpark.de> | 2010-05-03 11:50:20 +0200 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2010-06-25 17:04:09 +0200 |
commit | eab36222a9bfaedd6de0f651d5f50a5e071abf74 (patch) | |
tree | bf59c4e5526287d2fc2468814483f999db4a5919 /rules/zsync.make | |
parent | 421a414b82cd560254a6570c85d90c07f981eb5d (diff) | |
download | ptxdist-eab36222a9bfaedd6de0f651d5f50a5e071abf74.tar.gz ptxdist-eab36222a9bfaedd6de0f651d5f50a5e071abf74.tar.xz |
[zsync] Added version 0.6.1 as package to ptxdist
zsync allows for efficent updates of existing files. It was
easy to port and might be useful for the one or other purpose.
Signed-off-by: Carsten Schlote <c.schlote@konzeptpark.de>
[mkl: removed UTF8 chars and trailing whitespace from .in]
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'rules/zsync.make')
-rw-r--r-- | rules/zsync.make | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/rules/zsync.make b/rules/zsync.make new file mode 100644 index 000000000..d6f9eaf4f --- /dev/null +++ b/rules/zsync.make @@ -0,0 +1,67 @@ +# -*-makefile-*- +# +# Copyright (C) 2010 by Carsten Schlote <c.schlote@konzeptpark.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_ZSYNC) += zsync + +# +# Paths and names +# +ZSYNC_VERSION := 0.6.1 +ZSYNC := zsync-$(ZSYNC_VERSION) +ZSYNC_SUFFIX := tar.bz2 +ZSYNC_URL := http://zsync.moria.org.uk/download/$(ZSYNC).$(ZSYNC_SUFFIX) +ZSYNC_SOURCE := $(SRCDIR)/$(ZSYNC).$(ZSYNC_SUFFIX) +ZSYNC_DIR := $(BUILDDIR)/$(ZSYNC) +ZSYNC_LICENSE := GPL + +# ---------------------------------------------------------------------------- +# Get +# ---------------------------------------------------------------------------- + +$(ZSYNC_SOURCE): + @$(call targetinfo) + @$(call get, ZSYNC) + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +# +# autoconf +# +ZSYNC_CONF_TOOL := autoconf + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/zsync.targetinstall: + @$(call targetinfo) + + @$(call install_init, zsync) + @$(call install_fixup, zsync,PACKAGE,zsync) + @$(call install_fixup, zsync,PRIORITY,optional) + @$(call install_fixup, zsync,VERSION,$(ZSYNC_VERSION)) + @$(call install_fixup, zsync,SECTION,base) + @$(call install_fixup, zsync,AUTHOR,"Carsten Schlote <c.schlote@konzeptpark.de>") + @$(call install_fixup, zsync,DEPENDS,) + @$(call install_fixup, zsync,DESCRIPTION,missing) + + @$(call install_copy, zsync, 0, 0, 0755, -, /usr/bin/zsync) + @$(call install_copy, zsync, 0, 0, 0755, -, /usr/bin/zsyncmake) + + @$(call install_finish, zsync) + + @$(call touch) + +# vim: syntax=make |