summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/packages/opkg/opkg-ipkg-compat.bb19
-rw-r--r--meta/packages/opkg/opkg-native_svn.bb10
-rw-r--r--meta/packages/opkg/opkg_svn.bb21
3 files changed, 50 insertions, 0 deletions
diff --git a/meta/packages/opkg/opkg-ipkg-compat.bb b/meta/packages/opkg/opkg-ipkg-compat.bb
new file mode 100644
index 0000000000..58c81451ae
--- /dev/null
+++ b/meta/packages/opkg/opkg-ipkg-compat.bb
@@ -0,0 +1,19 @@
1DESCRIPTION = "Files to make opkg and ipkg coexist"
2RDEPENDS = "opkg ipkg ipkg-collateral"
3
4PR = "r0"
5PACKAGE_ARCH = "all"
6
7do_compile() {
8 :
9}
10
11
12do_install () {
13 install -d ${D}${sysconfdir}
14 install -d ${D}/var/lib/ipkg
15 ln -sf ${sysconfdir}/ipkg.conf ${D}${sysconfdir}/opkg.conf
16 ln -sf ${sysconfdir}/ipkg/ ${D}${sysconfdir}/opkg
17 ln -sf /var/lib/ipkg ${D}/var/lib/ipkg
18}
19
diff --git a/meta/packages/opkg/opkg-native_svn.bb b/meta/packages/opkg/opkg-native_svn.bb
new file mode 100644
index 0000000000..c90c91dae5
--- /dev/null
+++ b/meta/packages/opkg/opkg-native_svn.bb
@@ -0,0 +1,10 @@
1require opkg_svn.bb
2
3DEPENDS = "curl-native"
4
5target_libdir := "${libdir}"
6
7inherit native
8
9EXTRA_OECONF += "--with-opkglibdir=${target_libdir}/opkg -disable-gpg"
10
diff --git a/meta/packages/opkg/opkg_svn.bb b/meta/packages/opkg/opkg_svn.bb
new file mode 100644
index 0000000000..149f3050cf
--- /dev/null
+++ b/meta/packages/opkg/opkg_svn.bb
@@ -0,0 +1,21 @@
1DESCRIPTION = "Open Package Manager"
2DESCRIPTION_libopkg = "Open Package Manager Library"
3SECTION = "base"
4LICENSE = "GPL"
5DEPENDS = "curl gpgme"
6PV = "0.0+svnr${SRCREV}"
7PR = "r1"
8
9SRC_URI = "svn://svn.openmoko.org/trunk/src/target/;module=opkg;proto=http"
10S = "${WORKDIR}/opkg"
11
12inherit autotools pkgconfig
13
14do_stage() {
15 autotools_stage_all
16}
17
18PACKAGES =+ "libopkg-dev libopkg"
19
20FILES_libopkg-dev = "${libdir}/*.a ${libdir}/*.la ${libdir}/*.so"
21FILES_libopkg = "${libdir}/*.so.*"