# -*-makefile-*- # $Id: template 2516 2005-04-25 10:29:55Z rsc $ # # Copyright (C) 2005-2008 by Robert Schwebel # # 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_WGET) += wget # # Paths and names # WGET_VERSION := 1.11.4 WGET := wget-$(WGET_VERSION) WGET_SUFFIX := tar.gz WGET_URL := $(PTXCONF_SETUP_GNUMIRROR)/wget/$(WGET).$(WGET_SUFFIX) WGET_SOURCE := $(SRCDIR)/$(WGET).$(WGET_SUFFIX) WGET_DIR := $(BUILDDIR)/$(WGET) # ---------------------------------------------------------------------------- # Get # ---------------------------------------------------------------------------- $(WGET_SOURCE): @$(call targetinfo) @$(call get, WGET) # ---------------------------------------------------------------------------- # Prepare # ---------------------------------------------------------------------------- WGET_PATH := PATH=$(CROSS_PATH) WGET_ENV := $(CROSS_ENV) # # autoconf # WGET_AUTOCONF := \ $(CROSS_AUTOCONF_USR) \ --without-socks \ --without-ssl # ---------------------------------------------------------------------------- # Target-Install # ---------------------------------------------------------------------------- $(STATEDIR)/wget.targetinstall: @$(call targetinfo) @$(call install_init, wget) @$(call install_fixup, wget,PACKAGE,wget) @$(call install_fixup, wget,PRIORITY,optional) @$(call install_fixup, wget,VERSION,$(WGET_VERSION)) @$(call install_fixup, wget,SECTION,base) @$(call install_fixup, wget,AUTHOR,"Robert Schwebel ") @$(call install_fixup, wget,DEPENDS,) @$(call install_fixup, wget,DESCRIPTION,missing) @$(call install_copy, wget, 0, 0, 0755, $(WGET_DIR)/src/wget, /usr/bin/wget) @$(call install_finish, wget) @$(call touch) # ---------------------------------------------------------------------------- # Clean # ---------------------------------------------------------------------------- wget_clean: rm -rf $(STATEDIR)/wget.* rm -rf $(PKGDIR)/wget_* rm -rf $(WGET_DIR) # vim: syntax=make