mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: "Bart vdr. Meulen" <bartvdrmeulen@gmail.com>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH] dhex: Add new package
Date: Mon, 28 May 2012 14:42:40 +0200	[thread overview]
Message-ID: <1338208981-8681-14-git-send-email-bartvdrmeulen@gmail.com> (raw)

From: "Bart vdr. Meulen" <bartvdrmeulen@gmail.com>

Dhex is a ncurses based hex editor, with a diff mode.

Signed-off-by: Bart vdr. Meulen <bartvdrmeulen@gmail.com>
---
 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 <bartvdrmeulen@gmail.com>
+#
+# 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 <bartvdrmeulen@gmail.com>")
+	@$(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

                 reply	other threads:[~2012-05-28 12:43 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1338208981-8681-14-git-send-email-bartvdrmeulen@gmail.com \
    --to=bartvdrmeulen@gmail.com \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox