# -*-makefile-*- # $Id$ # # Copyright (C) 2007 by Marc Kleine-Budde # # 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 # HOST_PACKAGES-$(PTXCONF_HOST_LIBLZO) += host-liblzo # # Paths and names # HOST_LIBLZO_DIR = $(HOST_BUILDDIR)/$(LIBLZO) # ---------------------------------------------------------------------------- # Get # ---------------------------------------------------------------------------- $(STATEDIR)/host-liblzo.get: $(STATEDIR)/liblzo.get @$(call targetinfo) @$(call touch) # ---------------------------------------------------------------------------- # Extract # ---------------------------------------------------------------------------- $(STATEDIR)/host-liblzo.extract: @$(call targetinfo) @$(call clean, $(HOST_LIBLZO_DIR)) @$(call extract, LIBLZO, $(HOST_BUILDDIR)) @$(call patchin, LIBLZO, $(HOST_LIBLZO_DIR)) @$(call touch) # ---------------------------------------------------------------------------- # Prepare # ---------------------------------------------------------------------------- HOST_LIBLZO_PATH := PATH=$(HOST_PATH) HOST_LIBLZO_ENV := $(HOST_ENV) # # autoconf # HOST_LIBLZO_AUTOCONF := $(HOST_AUTOCONF) # ---------------------------------------------------------------------------- # Clean # ---------------------------------------------------------------------------- host-liblzo_clean: rm -rf $(STATEDIR)/host-liblzo.* rm -rf $(HOST_LIBLZO_DIR) # vim: syntax=make