summaryrefslogtreecommitdiff
path: root/meta/packages/opkg
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openedhand.com>2008-03-19 15:35:50 +0000
committerMarcin Juszkiewicz <hrw@openedhand.com>2008-03-19 15:35:50 +0000
commitfe96342d834d1e58f5b2f29cb8760506a53c967d (patch)
tree507278c4b79e9f45844b76626d08ca9830550b17 /meta/packages/opkg
parent2f696d393fd46bde5adef0eb2232bfcd8f7e13b3 (diff)
downloadopenembedded-core-fe96342d834d1e58f5b2f29cb8760506a53c967d.tar.gz
openembedded-core-fe96342d834d1e58f5b2f29cb8760506a53c967d.tar.bz2
openembedded-core-fe96342d834d1e58f5b2f29cb8760506a53c967d.zip
opkg: provide update-alternatives(-native)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4058 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/opkg')
-rw-r--r--meta/packages/opkg/opkg-native_svn.bb2
-rw-r--r--meta/packages/opkg/opkg.inc1
-rw-r--r--meta/packages/opkg/opkg_svn.bb10
3 files changed, 11 insertions, 2 deletions
diff --git a/meta/packages/opkg/opkg-native_svn.bb b/meta/packages/opkg/opkg-native_svn.bb
index 176a62359e..00675ab911 100644
--- a/meta/packages/opkg/opkg-native_svn.bb
+++ b/meta/packages/opkg/opkg-native_svn.bb
@@ -1,6 +1,8 @@
require opkg.inc
DEPENDS = "curl-native"
+PROVIDES += "virtual/update-alternatives-native"
+RPROVIDES_${PN} += "update-alternatives-native"
PR = "r1"
target_libdir := "${libdir}"
diff --git a/meta/packages/opkg/opkg.inc b/meta/packages/opkg/opkg.inc
index 2179f5595e..6c6a7a7afb 100644
--- a/meta/packages/opkg/opkg.inc
+++ b/meta/packages/opkg/opkg.inc
@@ -1,5 +1,6 @@
DESCRIPTION = "Open Package Manager"
DESCRIPTION_libopkg = "Open Package Manager Library"
+DESCRIPTION_update-alternatives-cworth = "Update alternatives"
SECTION = "base"
LICENSE = "GPL"
DEPENDS = "curl gpgme"
diff --git a/meta/packages/opkg/opkg_svn.bb b/meta/packages/opkg/opkg_svn.bb
index 26be2ccf8f..0fbe4f719d 100644
--- a/meta/packages/opkg/opkg_svn.bb
+++ b/meta/packages/opkg/opkg_svn.bb
@@ -1,10 +1,16 @@
require opkg.inc
+PROVIDES += "virtual/update-alternatives"
+RPROVIDES_update-alternatives-cworth += "update-alternatives"
+RCONFLICTS_update-alternatives-cworth = "update-alternatives-dpkg"
RDEPENDS_${PN} = "${VIRTUAL-RUNTIME_update-alternatives}"
-PR = "r3"
+PACKAGE_ARCH_update-alternatives-cworth = "all"
-PACKAGES =+ "libopkg-dev libopkg"
+PR = "r4"
+PACKAGES =+ "libopkg-dev libopkg update-alternatives-cworth"
+
+FILES_update-alternatives-cworth = "${bindir}/update-alternatives"
FILES_libopkg-dev = "${libdir}/*.a ${libdir}/*.la ${libdir}/*.so"
FILES_libopkg = "${libdir}/*.so.*"