# -*-makefile-*- # $Id$ # # Copyright (C) 2004 by Robert Schwebel # 2009 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 # PACKAGES-$(PTXCONF_MEMEDIT) += memedit # # Paths and names # MEMEDIT_VERSION := 0.7 MEMEDIT_LICENSE := GPLv2 MEMEDIT := memedit-$(MEMEDIT_VERSION) MEMEDIT_SUFFIX := tar.gz MEMEDIT_URL := http://www.pengutronix.de/software/memedit/downloads/$(MEMEDIT).$(MEMEDIT_SUFFIX) MEMEDIT_SOURCE := $(SRCDIR)/$(MEMEDIT).$(MEMEDIT_SUFFIX) MEMEDIT_DIR := $(BUILDDIR)/$(MEMEDIT) # ---------------------------------------------------------------------------- # Get # ---------------------------------------------------------------------------- $(MEMEDIT_SOURCE): @$(call targetinfo) @$(call get, MEMEDIT) # ---------------------------------------------------------------------------- # Prepare # ---------------------------------------------------------------------------- MEMEDIT_PATH = PATH=$(CROSS_PATH) MEMEDIT_ENV = $(CROSS_ENV) # # autoconf # MEMEDIT_AUTOCONF = $(CROSS_AUTOCONF_USR) # ---------------------------------------------------------------------------- # Target-Install # ---------------------------------------------------------------------------- $(STATEDIR)/memedit.targetinstall: @$(call targetinfo) @$(call install_init, memedit) @$(call install_fixup, memedit,PACKAGE,memedit) @$(call install_fixup, memedit,PRIORITY,optional) @$(call install_fixup, memedit,VERSION,$(MEMEDIT_VERSION)) @$(call install_fixup, memedit,SECTION,base) @$(call install_fixup, memedit,AUTHOR,"Robert Schwebel ") @$(call install_fixup, memedit,DEPENDS,) @$(call install_fixup, memedit,DESCRIPTION,missing) @$(call install_copy, memedit, 0, 0, 0755, -, \ /usr/bin/memedit) @$(call install_finish, memedit) @$(call touch) # ---------------------------------------------------------------------------- # Clean # ---------------------------------------------------------------------------- memedit_clean: rm -rf $(STATEDIR)/memedit.* rm -rf $(PKGDIR)/memedit_* rm -rf $(MEMEDIT_DIR) # vim: syntax=make