summaryrefslogtreecommitdiff
path: root/package/debianutils
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2014-11-18 14:01:50 -0300
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-11-18 23:27:50 +0100
commiteb50abe7cf2e7082907e5949aec8f884b5b45eb8 (patch)
tree6367a20ce1893b39779ffbbc8e901857fa0e5f28 /package/debianutils
parent44d15563c706dce48f84b55bd299fc94c655f071 (diff)
debianutils: new package
[Thomas: add optional dependency on Busybox, because debianutils installs its own version of which, so we need to override the Busybox one.] Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/debianutils')
-rw-r--r--package/debianutils/Config.in7
-rw-r--r--package/debianutils/debianutils.hash2
-rw-r--r--package/debianutils/debianutils.mk16
3 files changed, 25 insertions, 0 deletions
diff --git a/package/debianutils/Config.in b/package/debianutils/Config.in
new file mode 100644
index 000000000..f86586870
--- /dev/null
+++ b/package/debianutils/Config.in
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_DEBIANUTILS
+ bool "debianutils"
+ depends on BR2_USE_MMU # fork()
+ help
+ Miscellaneous utilities specific to Debian.
+
+ https://tracker.debian.org/pkg/debianutils
diff --git a/package/debianutils/debianutils.hash b/package/debianutils/debianutils.hash
new file mode 100644
index 000000000..089dd425f
--- /dev/null
+++ b/package/debianutils/debianutils.hash
@@ -0,0 +1,2 @@
+# From http://ftp.de.debian.org/debian/pool/main/d/debianutils/debianutils_4.4.dsc
+sha256 190850cdd6b5302e0a1ba1aaed1bc7074d67d3bd8d04c613f242f7145afa53a6 debianutils_4.4.tar.gz
diff --git a/package/debianutils/debianutils.mk b/package/debianutils/debianutils.mk
new file mode 100644
index 000000000..dd7877423
--- /dev/null
+++ b/package/debianutils/debianutils.mk
@@ -0,0 +1,16 @@
+################################################################################
+#
+# debianutils
+#
+################################################################################
+
+DEBIANUTILS_VERSION = 4.4
+DEBIANUTILS_SOURCE = debianutils_$(DEBIANUTILS_VERSION).tar.gz
+DEBIANUTILS_SITE = http://snapshot.debian.org/archive/debian/20130728T034252Z/pool/main/d/debianutils
+DEBIANUTILS_CONF_OPTS = --exec-prefix=/
+# Make sure we override the busybox tools, such as which
+DEBIANUTILS_DEPENDENCIES = $(if $(BR2_PACKAGE_BUSYBOX),busybox)
+DEBIANUTILS_LICENSE = GPLv2+, SMAIL (savelog)
+DEBIANUTILS_LICENSE_FILES = debian/copyright
+
+$(eval $(autotools-package))