diff options
author | Marcin Juszkiewicz <hrw@openedhand.com> | 2008-03-14 09:35:40 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openedhand.com> | 2008-03-14 09:35:40 +0000 |
commit | e2104416668c1d453d70c96320a5a064b32bec1b (patch) | |
tree | 7ae32688926cd08c1328fa802d3a46d003402340 /meta/packages/opkg | |
parent | 3f659983bff5002f1e61f75a4cdf13ee9c2575d1 (diff) | |
download | poky-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/opkg')
-rw-r--r-- | meta/packages/opkg/opkg-ipkg-compat.bb | 19 | ||||
-rw-r--r-- | meta/packages/opkg/opkg-native_svn.bb | 10 | ||||
-rw-r--r-- | meta/packages/opkg/opkg_svn.bb | 21 |
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 @@ | |||
1 | DESCRIPTION = "Files to make opkg and ipkg coexist" | ||
2 | RDEPENDS = "opkg ipkg ipkg-collateral" | ||
3 | |||
4 | PR = "r0" | ||
5 | PACKAGE_ARCH = "all" | ||
6 | |||
7 | do_compile() { | ||
8 | : | ||
9 | } | ||
10 | |||
11 | |||
12 | do_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 @@ | |||
1 | require opkg_svn.bb | ||
2 | |||
3 | DEPENDS = "curl-native" | ||
4 | |||
5 | target_libdir := "${libdir}" | ||
6 | |||
7 | inherit native | ||
8 | |||
9 | EXTRA_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 @@ | |||
1 | DESCRIPTION = "Open Package Manager" | ||
2 | DESCRIPTION_libopkg = "Open Package Manager Library" | ||
3 | SECTION = "base" | ||
4 | LICENSE = "GPL" | ||
5 | DEPENDS = "curl gpgme" | ||
6 | PV = "0.0+svnr${SRCREV}" | ||
7 | PR = "r1" | ||
8 | |||
9 | SRC_URI = "svn://svn.openmoko.org/trunk/src/target/;module=opkg;proto=http" | ||
10 | S = "${WORKDIR}/opkg" | ||
11 | |||
12 | inherit autotools pkgconfig | ||
13 | |||
14 | do_stage() { | ||
15 | autotools_stage_all | ||
16 | } | ||
17 | |||
18 | PACKAGES =+ "libopkg-dev libopkg" | ||
19 | |||
20 | FILES_libopkg-dev = "${libdir}/*.a ${libdir}/*.la ${libdir}/*.so" | ||
21 | FILES_libopkg = "${libdir}/*.so.*" | ||