summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas De Schampheleire <thomas.de_schampheleire@nokia.com>2017-02-06 15:57:43 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-02-06 16:07:33 +0100
commit4dfed722187ac0503560765b5a6fbce60fd14758 (patch)
treec9f5ce08749d2cd5a1249445e1675cef3a1b6c39
parentf90de822511a4a13bce6ac70e45897477e2344b8 (diff)
downloadbuildroot-4dfed722187ac0503560765b5a6fbce60fd14758.tar.gz
buildroot-4dfed722187ac0503560765b5a6fbce60fd14758.zip
opkg-utils: new package
Originally, the opkg sources also contained the tools needed to _create_ an opkg package. In later releases, this code has been split to a separate package opkg-utils. Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/Config.in.host1
-rw-r--r--package/opkg-utils/Config.in.host6
-rw-r--r--package/opkg-utils/opkg-utils.hash2
-rw-r--r--package/opkg-utils/opkg-utils.mk21
4 files changed, 30 insertions, 0 deletions
diff --git a/package/Config.in.host b/package/Config.in.host
index 248264195f..8da79c303c 100644
--- a/package/Config.in.host
+++ b/package/Config.in.host
@@ -31,6 +31,7 @@ menu "Host utilities"
source "package/mxsldr/Config.in.host"
source "package/omap-u-boot-utils/Config.in.host"
source "package/openocd/Config.in.host"
+ source "package/opkg-utils/Config.in.host"
source "package/parted/Config.in.host"
source "package/patchelf/Config.in.host"
source "package/pru-software-support/Config.in.host"
diff --git a/package/opkg-utils/Config.in.host b/package/opkg-utils/Config.in.host
new file mode 100644
index 0000000000..1c9c474a9d
--- /dev/null
+++ b/package/opkg-utils/Config.in.host
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_HOST_OPKG_UTILS
+ bool "host opkg-utils"
+ help
+ Helper scripts for use with the opkg package manager.
+
+ https://git.yoctoproject.org/cgit/cgit.cgi/opkg-utils/
diff --git a/package/opkg-utils/opkg-utils.hash b/package/opkg-utils/opkg-utils.hash
new file mode 100644
index 0000000000..332823f2cb
--- /dev/null
+++ b/package/opkg-utils/opkg-utils.hash
@@ -0,0 +1,2 @@
+# Locally calculated
+sha256 c14284d999cdd18fee4c6b22720f38beee962b2c8e099166d8d55d76a2111beb opkg-utils-0.3.4.tar.gz
diff --git a/package/opkg-utils/opkg-utils.mk b/package/opkg-utils/opkg-utils.mk
new file mode 100644
index 0000000000..aa3c44d94d
--- /dev/null
+++ b/package/opkg-utils/opkg-utils.mk
@@ -0,0 +1,21 @@
+################################################################################
+#
+# opkg-utils
+#
+################################################################################
+
+OPKG_UTILS_VERSION = 0.3.4
+OPKG_UTILS_SITE = http://git.yoctoproject.org/git/opkg-utils
+OPKG_UTILS_SITE_METHOD = git
+OPKG_UTILS_LICENSE = GPLv2+
+OPKG_UTILS_LICENSE_FILES = COPYING
+
+define HOST_OPKG_UTILS_BUILD_CMDS
+ $(MAKE) -C $(@D) $(HOST_CONFIGURE_OPTS)
+endef
+
+define HOST_OPKG_UTILS_INSTALL_CMDS
+ $(MAKE) -C $(@D) DESTDIR=$(HOST_DIR) PREFIX=/usr install
+endef
+
+$(eval $(host-generic-package))
OpenPOWER on IntegriCloud