Patchwork opkg: bump version to svn r635

login
register
mail settings
Submitter Jonathan Liu
Date Aug. 11, 2012, 6:31 a.m.
Message ID <1344666707-27833-1-git-send-email-net147@gmail.com>
Download mbox | patch
Permalink /patch/176665/
State Rejected
Headers show

Comments

Jonathan Liu - Aug. 11, 2012, 6:31 a.m.
It is recommended to use the most recent revision from subversion as it
contains various fixes.

Signed-off-by: Jonathan Liu <net147@gmail.com>
---
 package/opkg/opkg.mk | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)
Thomas Petazzoni - Aug. 11, 2012, 8:31 p.m.
Le Sat, 11 Aug 2012 16:31:47 +1000,
Jonathan Liu <net147@gmail.com> a écrit :

> -OPKG_VERSION = 0.1.8
> +OPKG_VERSION = 635
>  OPKG_SOURCE = opkg-$(OPKG_VERSION).tar.gz
> -OPKG_SITE = http://opkg.googlecode.com/files
> +OPKG_SITE = http://opkg.googlecode.com/svn/trunk/
> +OPKG_SITE_METHOD = svn
>  OPKG_INSTALL_STAGING = YES
>  OPKG_CONF_OPT = --disable-curl --disable-gpg
>  
> +define OPKG_AUTOGEN
> +	cd $(@D) ; \
> +	./autogen.sh
> +endef
> +
> +OPKG_PRE_CONFIGURE_HOOKS += OPKG_AUTOGEN

This means that the package now depends on host-autoconf, host-automake
and probably host-libtool.

Can you try if setting OPKG_AUTORECONF = YES is sufficient instead of
this custom hook? If not, then of course, keep this hook and add the
necessary dependency on host tools.

Thanks!

Thomas

Patch

diff --git a/package/opkg/opkg.mk b/package/opkg/opkg.mk
index be67f8e..486ccbb 100644
--- a/package/opkg/opkg.mk
+++ b/package/opkg/opkg.mk
@@ -4,12 +4,20 @@ 
 #
 #############################################################
 
-OPKG_VERSION = 0.1.8
+OPKG_VERSION = 635
 OPKG_SOURCE = opkg-$(OPKG_VERSION).tar.gz
-OPKG_SITE = http://opkg.googlecode.com/files
+OPKG_SITE = http://opkg.googlecode.com/svn/trunk/
+OPKG_SITE_METHOD = svn
 OPKG_INSTALL_STAGING = YES
 OPKG_CONF_OPT = --disable-curl --disable-gpg
 
+define OPKG_AUTOGEN
+	cd $(@D) ; \
+	./autogen.sh
+endef
+
+OPKG_PRE_CONFIGURE_HOOKS += OPKG_AUTOGEN
+
 # Ensure directory for lockfile exists
 define OPKG_CREATE_LOCKDIR
 	mkdir -p $(TARGET_DIR)/usr/lib/opkg