# -*-makefile-*- # # Copyright (C) 2007 by Robert Schwebel # 2010 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_HTOP) += htop # # Paths and names # HTOP_VERSION := 0.8.3 HTOP_MD5 := 5c9f093f9eaddf6e77aa6d54c2116d0c HTOP := htop-$(HTOP_VERSION) HTOP_SUFFIX := tar.gz HTOP_URL := $(PTXCONF_SETUP_SFMIRROR)/htop/$(HTOP).$(HTOP_SUFFIX) HTOP_SOURCE := $(SRCDIR)/$(HTOP).$(HTOP_SUFFIX) HTOP_DIR := $(BUILDDIR)/$(HTOP) # ---------------------------------------------------------------------------- # Get # ---------------------------------------------------------------------------- $(HTOP_SOURCE): @$(call targetinfo) @$(call get, HTOP) # ---------------------------------------------------------------------------- # Prepare # ---------------------------------------------------------------------------- HTOP_PATH := PATH=$(CROSS_PATH) HTOP_ENV := \ $(CROSS_ENV) \ ac_cv_file__proc_stat=yes \ ac_cv_file__proc_meminfo=yes # # autoconf # HTOP_AUTOCONF := $(CROSS_AUTOCONF_USR) # ---------------------------------------------------------------------------- # Target-Install # ---------------------------------------------------------------------------- $(STATEDIR)/htop.targetinstall: @$(call targetinfo) @$(call install_init, htop) @$(call install_fixup, htop,PRIORITY,optional) @$(call install_fixup, htop,SECTION,base) @$(call install_fixup, htop,AUTHOR,"Robert Schwebel ") @$(call install_fixup, htop,DESCRIPTION,missing) @$(call install_copy, htop, 0, 0, 0755, -, /usr/bin/htop) @$(call install_finish, htop) @$(call touch) # vim: syntax=make