diff options
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 |