# -*-makefile-*- # # Copyright (C) 2012 by Michael Olbrich # # 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_DDRESCUE) += ddrescue # # Paths and names # DDRESCUE_VERSION := 1.23 DDRESCUE_MD5 := cd85a82d510d9abf790132fb0da1bf3c DDRESCUE := ddrescue-$(DDRESCUE_VERSION) DDRESCUE_SUFFIX := tar.lz DDRESCUE_URL := $(call ptx/mirror, GNU, ddrescue/$(DDRESCUE).$(DDRESCUE_SUFFIX)) DDRESCUE_SOURCE := $(SRCDIR)/$(DDRESCUE).$(DDRESCUE_SUFFIX) DDRESCUE_DIR := $(BUILDDIR)/$(DDRESCUE) DDRESCUE_LICENSE := unknown # ---------------------------------------------------------------------------- # Prepare # ---------------------------------------------------------------------------- # # autoconf # DDRESCUE_CONF_TOOL := autoconf DDRESCUE_CONF_OPT := \ $(CROSS_AUTOCONF_USR) \ $(CROSS_ENV) # ---------------------------------------------------------------------------- # Target-Install # ---------------------------------------------------------------------------- $(STATEDIR)/ddrescue.targetinstall: @$(call targetinfo) @$(call install_init, ddrescue) @$(call install_fixup, ddrescue,PRIORITY,optional) @$(call install_fixup, ddrescue,SECTION,base) @$(call install_fixup, ddrescue,AUTHOR,"Michael Olbrich ") @$(call install_fixup, ddrescue,DESCRIPTION,missing) @$(call install_copy, ddrescue, 0, 0, 0755, -, /usr/bin/ddrescue) @$(call install_finish, ddrescue) @$(call touch) # vim: syntax=make