Skip to contentSkip to conversation

opkg: bump version to svn r635

PATCH Superseded Jonathan Liu 2 participants 2 messages Aug 11, 2012

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 opkg: bump version to svn r635

It is recommended to use the most recent revision from subversion as it contains various fixes.

---
 package/opkg/opkg.mk | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)
package/opkg/opkg.mk +10 -2
index be67f8e..486ccbb 100644
@@ -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
Signature · 1 line
1.7.11.3
#1 lore raw

PATCH 1/1 opkg: bump version to svn r635

Le Sat, 11 Aug 2012 16:31:47 +1000,
Jonathan Liu <[email protected]> a ?crit :

Quoted 5 lines
package/opkg/opkg.mk +2 -2
-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/

package/opkg/opkg.mk line 19

Quoted 10 lines
package/opkg/opkg.mk +7 -0
+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

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com