summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/opkg-utils/opkg-utils_git.bb')
-rw-r--r--meta/recipes-devtools/opkg-utils/opkg-utils_git.bb35
1 files changed, 35 insertions, 0 deletions
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 0000000..54cfe54
--- /dev/null
+++ b/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb
@@ -0,0 +1,35 @@
1SUMMARY = "Additional utilities for the opkg package manager"
2SUMMARY_update-alternatives-opkg = "Utility for managing the alternatives system"
3SECTION = "base"
4HOMEPAGE = "http://code.google.com/p/opkg/"
5LICENSE = "GPLv2+"
6LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
7 file://opkg.py;beginline=1;endline=18;md5=15917491ad6bf7acc666ca5f7cc1e083"
8PROVIDES += "virtual/update-alternatives"
9
10SRCREV = "c33b217016ee911718b10c9d57f9912935baf5a9"
11PV = "0.1.8+git${SRCPV}"
12
13SRC_URI = "git://git.yoctoproject.org/opkg-utils"
14
15S = "${WORKDIR}/git"
16
17TARGET_CC_ARCH += "${LDFLAGS}"
18
19PYTHONRDEPS = "python python-shell python-io python-math python-crypt python-logging python-fcntl python-subprocess python-pickle python-compression python-textutils python-stringold"
20PYTHONRDEPS_class-native = ""
21
22PACKAGECONFIG = "python"
23PACKAGECONFIG[python] = ",,,${PYTHONRDEPS}"
24
25do_install() {
26 oe_runmake PREFIX=${prefix} DESTDIR=${D} install
27}
28
29PACKAGES =+ "update-alternatives-opkg"
30FILES_update-alternatives-opkg = "${bindir}/update-alternatives"
31RPROVIDES_update-alternatives-opkg = "update-alternatives update-alternatives-cworth"
32RREPLACES_update-alternatives-opkg = "update-alternatives-cworth"
33RCONFLICTS_update-alternatives-opkg = "update-alternatives-cworth"
34
35BBCLASSEXTEND = "native nativesdk"