* [ptxdist] [PATCH] dhex: Add new package
@ 2012-05-28 12:42 Bart vdr. Meulen
0 siblings, 0 replies; only message in thread
From: Bart vdr. Meulen @ 2012-05-28 12:42 UTC (permalink / raw)
To: ptxdist
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-05-28 12:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-28 12:42 [ptxdist] [PATCH] dhex: Add new package Bart vdr. Meulen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox