aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/opkg/opkg-native_svn.bb
blob: 9ba8e457d2754a96c50d423bf81eedd1ed8a457c (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;apply=yes;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"