From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-wi0-f178.google.com ([209.85.212.178]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1SYzIN-00089t-5t for ptxdist@pengutronix.de; Mon, 28 May 2012 14:43:51 +0200 Received: by wibhn6 with SMTP id hn6so1222281wib.7 for ; Mon, 28 May 2012 05:43:26 -0700 (PDT) From: "Bart vdr. Meulen" Date: Mon, 28 May 2012 14:42:40 +0200 Message-Id: <1338208981-8681-14-git-send-email-bartvdrmeulen@gmail.com> Subject: [ptxdist] [PATCH] dhex: Add new package Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de From: "Bart vdr. Meulen" Dhex is a ncurses based hex editor, with a diff mode. Signed-off-by: Bart vdr. Meulen --- rules/dhex.in | 10 +++++++++ rules/dhex.make | 65 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 75 insertions(+) create mode 100644 rules/dhex.in create mode 100644 rules/dhex.make diff --git a/rules/dhex.in b/rules/dhex.in new file mode 100644 index 0000000..9fd20a7 --- /dev/null +++ b/rules/dhex.in @@ -0,0 +1,10 @@ +## SECTION=editors + +config DHEX + tristate + prompt "dhex" + select NCURSES + help + DHEX is a more than just another hex editor. It includes a diff mode, + which can be used to easily and conveniently compare two binary files. + diff --git a/rules/dhex.make b/rules/dhex.make new file mode 100644 index 0000000..7b3d106 --- /dev/null +++ b/rules/dhex.make @@ -0,0 +1,65 @@ +# -*-makefile-*- +# +# Copyright (C) 2011 by Bart vdr. Meulen +# +# 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_DHEX) += dhex + +# +# Paths and names +# +DHEX_VERSION := 0.65 +DHEX_MD5 := 2d4ee5cc0cd95da5a1c7630b971e986d +DHEX := dhex_$(DHEX_VERSION) +DHEX_SUFFIX := tar.gz +DHEX_URL := http://www.dettus.net/dhex/$(DHEX).$(DHEX_SUFFIX) +DHEX_SOURCE := $(SRCDIR)/$(DHEX).$(DHEX_SUFFIX) +DHEX_DIR := $(BUILDDIR)/$(DHEX) +DHEX_LICENSE := GPLv2 + +# ---------------------------------------------------------------------------- +# Get +# ---------------------------------------------------------------------------- + +$(DHEX_SOURCE): + @$(call targetinfo) + @$(call get, DHEX) + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +DHEX_CONF_TOOL := NO +DHEX_MAKE_OPT := $(CROSS_ENV) +DHEX_INSTALL_OPT := install $(CROSS_ENV) + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/dhex.targetinstall: + @$(call targetinfo) + + @$(call install_init, dhex) + @$(call install_fixup, dhex,PACKAGE,dhex) + @$(call install_fixup, dhex,PRIORITY,optional) + @$(call install_fixup, dhex,VERSION,$(DHEX_VERSION)) + @$(call install_fixup, dhex,SECTION,base) + @$(call install_fixup, dhex,AUTHOR,"Bart vdr. Meulen ") + @$(call install_fixup, dhex,DEPENDS,) + @$(call install_fixup, dhex,DESCRIPTION,missing) + + @$(call install_copy, dhex, 0, 0, 0755, -, /bin/dhex) + + @$(call install_finish, dhex) + + @$(call touch) + -- 1.7.9.5 -- ptxdist mailing list ptxdist@pengutronix.de