diff options
Diffstat (limited to 'meta/packages/opkg/opkg.inc')
-rw-r--r-- | meta/packages/opkg/opkg.inc | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/meta/packages/opkg/opkg.inc b/meta/packages/opkg/opkg.inc index d82f6d53f2..1d1cb5c26f 100644 --- a/meta/packages/opkg/opkg.inc +++ b/meta/packages/opkg/opkg.inc | |||
@@ -4,6 +4,8 @@ DESCRIPTION_update-alternatives-cworth = "Update alternatives" | |||
4 | SECTION = "base" | 4 | SECTION = "base" |
5 | LICENSE = "GPL" | 5 | LICENSE = "GPL" |
6 | DEPENDS = "curl gpgme" | 6 | DEPENDS = "curl gpgme" |
7 | DEPENDS_virtclass-native = "curl-native" | ||
8 | DEPENDS_virtclass-nativesdk = "curl-nativesdk" | ||
7 | PV = "0.0+svnr${SRCREV}" | 9 | PV = "0.0+svnr${SRCREV}" |
8 | PE = "1" | 10 | PE = "1" |
9 | 11 | ||
@@ -14,9 +16,20 @@ SRC_URI = "svn://opkg.googlecode.com/svn;module=trunk;proto=http \ | |||
14 | 16 | ||
15 | S = "${WORKDIR}/trunk" | 17 | S = "${WORKDIR}/trunk" |
16 | 18 | ||
19 | FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/opkg" | ||
20 | |||
17 | # Werror gives all kinds bounds issuses with gcc 4.3.3 | 21 | # Werror gives all kinds bounds issuses with gcc 4.3.3 |
18 | do_configure_prepend() { | 22 | do_configure_prepend() { |
19 | sed -i -e s:-Werror::g ${S}/libopkg/Makefile.am | 23 | sed -i -e s:-Werror::g ${S}/libopkg/Makefile.am |
20 | } | 24 | } |
21 | 25 | ||
22 | inherit autotools_stage pkgconfig | 26 | inherit autotools_stage pkgconfig |
27 | |||
28 | target_libdir := "${libdir}" | ||
29 | EXTRA_OECONF_virtclass-native = "--with-opkglibdir=${target_libdir} --disable-gpg" | ||
30 | EXTRA_OECONF_virtclass-nativesdk = "--with-opkglibdir=${target_libdir} --disable-gpg" | ||
31 | |||
32 | #PROVIDES_append_virtclass-native = "virtual/update-alternatives-native" | ||
33 | #RPROVIDES_${PN} += "update-alternatives-native" | ||
34 | |||
35 | BBCLASSEXTEND = "native nativesdk" | ||