summaryrefslogtreecommitdiff
path: root/recipes/opkg/opkg-nogpg_svn.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/opkg/opkg-nogpg_svn.bb')
-rw-r--r--recipes/opkg/opkg-nogpg_svn.bb17
1 files changed, 17 insertions, 0 deletions
diff --git a/recipes/opkg/opkg-nogpg_svn.bb b/recipes/opkg/opkg-nogpg_svn.bb
new file mode 100644
index 0000000000..a9297d7645
--- /dev/null
+++ b/recipes/opkg/opkg-nogpg_svn.bb
@@ -0,0 +1,17 @@
+require opkg_svn.bb
+
+DEPENDS = "curl"
+PROVIDES += "opkg"
+
+PR = "r3"
+
+SRCREV = "${SRCREV_pn-opkg}"
+
+EXTRA_OECONF += "--disable-gpg"
+
+# 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"