diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2008-08-07 20:44:58 +0000 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2008-08-07 20:44:58 +0000 |
commit | a0ae746d459bc708fc055c1b21146faa15fcb277 (patch) | |
tree | 2a361655375fc4dd2446023e68454360fa50a151 /rules/atop.make | |
parent | 8838b8d6d5cf5bb17f5e5e87dff67e4e797cc621 (diff) | |
download | ptxdist-a0ae746d459bc708fc055c1b21146faa15fcb277.tar.gz ptxdist-a0ae746d459bc708fc055c1b21146faa15fcb277.tar.xz |
* rules/atop.make, rules/atop.in, patches/atop-1.23, rules/Kconfig:
added atop
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@8727 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/atop.make')
-rw-r--r-- | rules/atop.make | 78 |
1 files changed, 78 insertions, 0 deletions
diff --git a/rules/atop.make b/rules/atop.make new file mode 100644 index 000000000..a15dd9672 --- /dev/null +++ b/rules/atop.make @@ -0,0 +1,78 @@ +# -*-makefile-*- +# $Id: atop.make 6158 2006-10-16 14:26:15Z rsc $ +# +# Copyright (C) 2008 by Remy Bohmer, Netherlands +# +# 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_ATOP) += atop + +# +# Paths and names +# +ATOP_VERSION := 1.23 +ATOP := atop-$(ATOP_VERSION) +ATOP_URL := http://www.atcomputing.nl/Tools/atop/packages/$(ATOP).tar.gz +ATOP_SOURCE := $(SRCDIR)/$(ATOP).tar.gz +ATOP_DIR := $(BUILDDIR)/$(ATOP) + + +# ---------------------------------------------------------------------------- +# Get +# ---------------------------------------------------------------------------- + +$(ATOP_SOURCE): + @$(call targetinfo) + @$(call get, ATOP) + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +ATOP_PATH := PATH=$(CROSS_PATH) +ATOP_COMPILE_ENV := $(CROSS_ENV) + +$(STATEDIR)/atop.prepare: + @$(call targetinfo) + @$(call touch) + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/atop.targetinstall: + @$(call targetinfo) + + @$(call install_init, atop) + @$(call install_fixup, atop,PACKAGE,atop) + @$(call install_fixup, atop,PRIORITY,optional) + @$(call install_fixup, atop,VERSION,$(ATOP_VERSION)) + @$(call install_fixup, atop,SECTION,base) + @$(call install_fixup, atop,AUTHOR,"Remy Bohmer <linux@bohmer.net>") + @$(call install_fixup, atop,DEPENDS,) + @$(call install_fixup, atop,DESCRIPTION,missing) + + @$(call install_copy, atop, 0, 0, 0755, $(ATOP_DIR)/atop, /usr/bin/atop) + + @$(call install_finish, atop) + + @$(call touch) + +# ---------------------------------------------------------------------------- +# Clean +# ---------------------------------------------------------------------------- + +atop_clean: + rm -rf $(STATEDIR)/atop.* + rm -rf $(PKGDIR)/atop_* + rm -fr $(STATEDIR)/atop-patches.get + rm -fr $(ATOP_DIR) + +# vim: syntax=make |