From eab36222a9bfaedd6de0f651d5f50a5e071abf74 Mon Sep 17 00:00:00 2001 From: Carsten Schlote Date: Mon, 3 May 2010 11:50:20 +0200 Subject: [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 [mkl: removed UTF8 chars and trailing whitespace from .in] Signed-off-by: Marc Kleine-Budde --- rules/zsync.make | 67 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 rules/zsync.make (limited to 'rules/zsync.make') 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 +# +# 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 ") + @$(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 -- cgit v1.2.3