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