summaryrefslogtreecommitdiff
path: root/recipes/opkg/opkg-nogpg_svn.bb
blob: 9ddc589b49914442313a2dc7835f9e5762a9b15f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
require opkg_svn.bb

DEPENDS = "curl"
PROVIDES += "opkg"

PR = "${INC_PR}.1"

SRCREV = "${SRCREV_pn-opkg}"

EXTRA_OECONF += " --disable-gpg \ 
                  --disable-openssl \ 
                  --disable-ssl-curl \
                  --enable-gpg=no \
                  --enable-ssl-curl=no \
                  --enable-openssl=no"

LDFLAGS_append = " -Wl,--as-needed"

# 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
}

DEFAULT_PREFERENCE = "-1"