Skip to contentSkip to conversation

opkg-utils: new package

PATCH New Thomas De Schampheleire 2 participants 2 messages Feb 6, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 opkg-utils: new package

From: Thomas De Schampheleire <[email protected]>

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.

---
 package/Config.in.host            |  1 +
 package/opkg-utils/Config.in.host |  6 ++++++
 package/opkg-utils/opkg-utils.mk  | 21 +++++++++++++++++++++
 3 files changed, 28 insertions(+)
 create mode 100644 package/opkg-utils/Config.in.host
 create mode 100644 package/opkg-utils/opkg-utils.mk
package/Config.in.host +1 -0
index 2482641..8da79c3 100644
@@ -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"
package/opkg-utils/Config.in.host new file +6 -0
new file mode 100644
index 0000000..1c9c474
@@ -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/
package/opkg-utils/opkg-utils.mk new file +21 -0
new file mode 100644
index 0000000..aa3c44d
@@ -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))
Signature · 1 line
2.10.2
#1 lore raw

PATCH 1/1 opkg-utils: new package

Hello,

Quoted 6 lines · Thomas De Schampheleire

From: Thomas De Schampheleire <[email protected]>

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.

Quoted 8 lines
---
 package/Config.in.host            |  1 +
 package/opkg-utils/Config.in.host |  6 ++++++
 package/opkg-utils/opkg-utils.mk  | 21 +++++++++++++++++++++
 3 files changed, 28 insertions(+)
 create mode 100644 package/opkg-utils/Config.in.host
 create mode 100644 package/opkg-utils/opkg-utils.mk

Applied to master, thanks. I added a hash file, and added you in DEVELOPERS file for this package.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com