summaryrefslogtreecommitdiff
path: root/packages/opkg/opkg-nogpg-nocurl_svn.bb
blob: 4daa58f274e0aaaafd418852f9b4f0289154a7b0 (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 = ""
PROVIDES += "opkg"

SRC_URI += " \
	    file://opkg_wget.patch;patch=1;maxrev=180 \
	    file://reduce-nogpg-noise.patch;patch=1;maxrev=180 \
	    file://opkg_wget_nogpg_01_use_vfork_gunzip.patch;patch=1 \
	    file://opkg_wget_nogpg_02_use_vfork_system.patch;patch=1 \
	    file://opkg_wget_nogpg_03_fix_tmpdirs.patch;patch=1 \
	   "
PR = "r3"

SRCREV = "${SRCREV_pn-opkg}"

EXTRA_OECONF += "--disable-gpg --enable-static --disable-shared"

# NOTE: Use this one after svn rev 180 (should be a different recipe)
#EXTRA_OECONF += "--disable-gpg --disable-curl --enable-static --disable-shared"

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