summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-12-21 16:55:33 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2015-12-21 16:55:33 +0100
commit4e630077f1cbeb71a3009dd7a7e778b8e59cdf81 (patch)
tree7a761bb6d164206faa80fd83983ca34ea528f1df /package
parent5722a7751a8a9025871c608f7c107cd7deb3fdde (diff)
opkg: update to latest, add host variant, enable gpg support
Diffstat (limited to 'package')
-rw-r--r--package/opkg/Makefile20
1 files changed, 14 insertions, 6 deletions
diff --git a/package/opkg/Makefile b/package/opkg/Makefile
index 1cc0a4818..cf601abc7 100644
--- a/package/opkg/Makefile
+++ b/package/opkg/Makefile
@@ -4,12 +4,13 @@
include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= opkg
-PKG_VERSION:= 0.2.4
+PKG_VERSION:= 0.3.1
PKG_RELEASE:= 1
-PKG_HASH:= 0f40c7e457d81edf9aedc07c778f4697111ab163a38ef95999faece015453086
+PKG_HASH:= d2c6c02a8384ec21168a1f0a186cb5e9f577d1452f491d02ed3e56b2ea8b87df
PKG_DESCR:= embedded package manager
-PKG_DEPENDS:= libcurl
-PKG_BUILDDEP:= curl
+PKG_DEPENDS:= libcurl libarchive gpgme
+PKG_BUILDDEP:= curl libarchive gpgme
+HOST_BUILDDEP:= libarchive-host curl-host
PKG_NEEDS:= threads
PKG_SECTION:= sys/misc
PKG_URL:= https://code.google.com/p/opkg/
@@ -17,13 +18,19 @@ PKG_SITES:= http://downloads.yoctoproject.org/releases/opkg/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
+include $(ADK_TOPDIR)/mk/host.mk
include $(ADK_TOPDIR)/mk/package.mk
+$(eval $(call HOST_template,OPKG,opkg,$(PKG_VERSION)-${PKG_RELEASE}))
$(eval $(call PKG_template,OPKG,opkg,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+AUTOTOOL_STYLE:= autogen
+HOST_CONFIGURE_ARGS+= --disable-openssl \
+ --disable-gpg \
+ --disable-ssl-curl
CONFIGURE_ARGS+= --disable-openssl \
- --disable-ssl-curl \
- --disable-gpg
+ --enable-gpg \
+ --disable-ssl-curl
opkg-install:
$(INSTALL_DIR) $(IDIR_OPKG)/usr/bin
@@ -33,4 +40,5 @@ opkg-install:
$(INSTALL_BIN) $(WRKINST)/usr/bin/opkg* \
$(IDIR_OPKG)/usr/bin
+include ${ADK_TOPDIR}/mk/host-bottom.mk
include ${ADK_TOPDIR}/mk/pkg-bottom.mk