opkg: Convert to use BBCLASSEXTEND
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
parent
357282e211
commit
a717961f6e
|
@ -1,12 +0,0 @@
|
|||
require opkg.inc
|
||||
|
||||
DEPENDS = "curl-native"
|
||||
PROVIDES += "virtual/update-alternatives-native"
|
||||
RPROVIDES_${PN} += "update-alternatives-native"
|
||||
PR = "r5"
|
||||
|
||||
target_libdir := "${libdir}"
|
||||
|
||||
inherit native
|
||||
|
||||
EXTRA_OECONF += "--with-opkglibdir=${target_libdir} --disable-gpg"
|
|
@ -1,8 +0,0 @@
|
|||
require opkg.inc
|
||||
|
||||
DEPENDS = "curl-nativesdk"
|
||||
PR = "r3"
|
||||
|
||||
inherit nativesdk
|
||||
|
||||
EXTRA_OECONF += "--with-opkglibdir=${target_libdir} --disable-gpg"
|
|
@ -4,6 +4,8 @@ DESCRIPTION_update-alternatives-cworth = "Update alternatives"
|
|||
SECTION = "base"
|
||||
LICENSE = "GPL"
|
||||
DEPENDS = "curl gpgme"
|
||||
DEPENDS_virtclass-native = "curl-native"
|
||||
DEPENDS_virtclass-nativesdk = "curl-nativesdk"
|
||||
PV = "0.0+svnr${SRCREV}"
|
||||
PE = "1"
|
||||
|
||||
|
@ -14,9 +16,20 @@ SRC_URI = "svn://opkg.googlecode.com/svn;module=trunk;proto=http \
|
|||
|
||||
S = "${WORKDIR}/trunk"
|
||||
|
||||
FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/opkg"
|
||||
|
||||
# Werror gives all kinds bounds issuses with gcc 4.3.3
|
||||
do_configure_prepend() {
|
||||
sed -i -e s:-Werror::g ${S}/libopkg/Makefile.am
|
||||
}
|
||||
|
||||
inherit autotools_stage pkgconfig
|
||||
|
||||
target_libdir := "${libdir}"
|
||||
EXTRA_OECONF_virtclass-native = "--with-opkglibdir=${target_libdir} --disable-gpg"
|
||||
EXTRA_OECONF_virtclass-nativesdk = "--with-opkglibdir=${target_libdir} --disable-gpg"
|
||||
|
||||
#PROVIDES_append_virtclass-native = "virtual/update-alternatives-native"
|
||||
#RPROVIDES_${PN} += "update-alternatives-native"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
|
|
@ -6,7 +6,7 @@ RCONFLICTS_update-alternatives-cworth = "update-alternatives-dpkg"
|
|||
RDEPENDS_${PN} = "${VIRTUAL-RUNTIME_update-alternatives}"
|
||||
PACKAGE_ARCH_update-alternatives-cworth = "all"
|
||||
|
||||
PR = "r3"
|
||||
PR = "r6"
|
||||
|
||||
PACKAGES =+ "libopkg-dev libopkg update-alternatives-cworth"
|
||||
|
||||
|
|
Loading…
Reference in New Issue