Patchwork libtpl: bump version

login
register
mail settings
Submitter Simon Dawson
Date June 29, 2013, 12:10 p.m.
Message ID <1372507823-12410-1-git-send-email-spdawson@gmail.com>
Download mbox | patch
Permalink /patch/255732/
State Accepted
Commit 751c2d20d786f5ed05a27bdfddf00473efba1fac
Headers show

Comments

Simon Dawson - June 29, 2013, 12:10 p.m.
From: Simon Dawson <spdawson@gmail.com>

Note that libtpl has moved from sourceforge to github, and there is no longer
a version-specific tarball available.

Signed-off-by: Simon Dawson <spdawson@gmail.com>
---
 package/libtpl/Config.in |  2 +-
 package/libtpl/libtpl.mk | 13 ++++++++++---
 2 files changed, 11 insertions(+), 4 deletions(-)
Peter Korsgaard - July 2, 2013, 9:49 p.m.
>>>>> "spdawson" == spdawson  <spdawson@gmail.com> writes:

 spdawson> From: Simon Dawson <spdawson@gmail.com>

 spdawson> Note that libtpl has moved from sourceforge to github, and
 spdawson> there is no longer a version-specific tarball available.

Committed, thanks.

Patch

diff --git a/package/libtpl/Config.in b/package/libtpl/Config.in
index a2c2c2d..0286e03 100644
--- a/package/libtpl/Config.in
+++ b/package/libtpl/Config.in
@@ -3,4 +3,4 @@  config BR2_PACKAGE_LIBTPL
 	help
 	  Easily store and retrieve binary data in C
 
-	  http://tpl.sourceforge.net/
+	  http://troydhanson.github.io/tpl/
diff --git a/package/libtpl/libtpl.mk b/package/libtpl/libtpl.mk
index 0016c31..478b298 100644
--- a/package/libtpl/libtpl.mk
+++ b/package/libtpl/libtpl.mk
@@ -4,11 +4,18 @@ 
 #
 ################################################################################
 
-LIBTPL_VERSION = 1.5
-LIBTPL_SOURCE = libtpl-$(LIBTPL_VERSION).tar.bz2
-LIBTPL_SITE = http://downloads.sourceforge.net/project/tpl/tpl/libtpl-$(LIBTPL_VERSION)
+LIBTPL_VERSION = 445b4e9f236a48e274eaace31acf56d700da142a
+LIBTPL_SITE = http://github.com/troydhanson/tpl/tarball/$(LIBTPL_VERSION)
 LIBTPL_INSTALL_STAGING = YES
 LIBTPL_LICENSE = BSD-like
 LIBTPL_LICENSE_FILES = LICENSE
 
+LIBTPL_AUTORECONF = YES
+LIBTPL_AUTORECONF_OPT = --install --force
+
+define LIBTPL_CREATE_MISSING_FILES
+	touch $(@D)/NEWS $(@D)/AUTHORS $(@D)/ChangeLog $(@D)/COPYING
+endef
+LIBTPL_POST_EXTRACT_HOOKS += LIBTPL_CREATE_MISSING_FILES
+
 $(eval $(autotools-package))