summaryrefslogtreecommitdiffstats
path: root/meta/packages
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openedhand.com>2008-03-14 09:35:40 +0000
committerMarcin Juszkiewicz <hrw@openedhand.com>2008-03-14 09:35:40 +0000
commite2104416668c1d453d70c96320a5a064b32bec1b (patch)
tree7ae32688926cd08c1328fa802d3a46d003402340 /meta/packages
parent3f659983bff5002f1e61f75a4cdf13ee9c2575d1 (diff)
downloadpoky-e2104416668c1d453d70c96320a5a064b32bec1b.tar.gz
opkg: added from OE
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3993 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages')
-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.*"