From c527fd1f14c27855a37f2e8ac5346ce8d940ced2 Mon Sep 17 00:00:00 2001 From: Tudor Florea Date: Thu, 16 Oct 2014 03:05:19 +0200 Subject: initial commit for Enea Linux 4.0-140929 Migrated from the internal git server on the daisy-enea-point-release branch Signed-off-by: Tudor Florea --- meta/recipes-devtools/opkg-utils/opkg-utils_git.bb | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 meta/recipes-devtools/opkg-utils/opkg-utils_git.bb (limited to 'meta/recipes-devtools/opkg-utils/opkg-utils_git.bb') diff --git a/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb b/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb new file mode 100644 index 0000000000..54cfe54c47 --- /dev/null +++ b/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb @@ -0,0 +1,35 @@ +SUMMARY = "Additional utilities for the opkg package manager" +SUMMARY_update-alternatives-opkg = "Utility for managing the alternatives system" +SECTION = "base" +HOMEPAGE = "http://code.google.com/p/opkg/" +LICENSE = "GPLv2+" +LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ + file://opkg.py;beginline=1;endline=18;md5=15917491ad6bf7acc666ca5f7cc1e083" +PROVIDES += "virtual/update-alternatives" + +SRCREV = "c33b217016ee911718b10c9d57f9912935baf5a9" +PV = "0.1.8+git${SRCPV}" + +SRC_URI = "git://git.yoctoproject.org/opkg-utils" + +S = "${WORKDIR}/git" + +TARGET_CC_ARCH += "${LDFLAGS}" + +PYTHONRDEPS = "python python-shell python-io python-math python-crypt python-logging python-fcntl python-subprocess python-pickle python-compression python-textutils python-stringold" +PYTHONRDEPS_class-native = "" + +PACKAGECONFIG = "python" +PACKAGECONFIG[python] = ",,,${PYTHONRDEPS}" + +do_install() { + oe_runmake PREFIX=${prefix} DESTDIR=${D} install +} + +PACKAGES =+ "update-alternatives-opkg" +FILES_update-alternatives-opkg = "${bindir}/update-alternatives" +RPROVIDES_update-alternatives-opkg = "update-alternatives update-alternatives-cworth" +RREPLACES_update-alternatives-opkg = "update-alternatives-cworth" +RCONFLICTS_update-alternatives-opkg = "update-alternatives-cworth" + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf