summaryrefslogtreecommitdiff
path: root/recipes/opkg/opkg-nogpg_svn.bb
blob: 33d9987463dcbedf28a04b0650a6a6015a18a054 (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
25
26
27
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
}
do_configure_prepend_nylon() {
	LDFLAGS="`echo "$LDFLAGS" | sed "s/ -Wl,--as-needed//"`"
}

DEFAULT_PREFERENCE = "-1"