summaryrefslogtreecommitdiffstats
path: root/rules/zsync.make
blob: a6cf53c26cca2e71d0a17f5fa67047a4b8646a6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# -*-makefile-*-
#
# Copyright (C) 2010 by Carsten Schlote <c.schlote@konzeptpark.de>
#
# 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.2
ZSYNC_MD5	:= 862f90bafda118c4d3c5ee6477e50841
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

# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------

#
# autoconf
#
ZSYNC_CONF_TOOL	:= autoconf

# ----------------------------------------------------------------------------
# Target-Install
# ----------------------------------------------------------------------------

$(STATEDIR)/zsync.targetinstall:
	@$(call targetinfo)

	@$(call install_init,  zsync)
	@$(call install_fixup, zsync,PRIORITY,optional)
	@$(call install_fixup, zsync,SECTION,base)
	@$(call install_fixup, zsync,AUTHOR,"Carsten Schlote <c.schlote@konzeptpark.de>")
	@$(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