summaryrefslogtreecommitdiff
path: root/recipes/opkg/opkg-native_svn.bb
blob: f5bd992132c630936c319f87c317152a27a2c959 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
require opkg.inc

DEPENDS = "curl-native openssl-native"
PR = "${INC_PR}"
PROVIDES =+ "virtual/update-alternatives-native"

SRC_URI += "file://opkg-libdir.patch;patch=1;maxrev=342"

target_libdir := "${libdir}"

inherit native

# The nogpg version isn't getting much love and has an unused variable which trips up -Werror
do_configure_prepend() {
        sed -i -e s:-Werror::g ${S}/libopkg/Makefile.am
}


EXTRA_OECONF += "--with-opkglibdir=${target_libdir} --disable-gpg"