From 74a9d5b4f7cc40ffa5cb47047278b42ce1b4ee91 Mon Sep 17 00:00:00 2001 From: Michael Heimpold Date: Wed, 19 Apr 2017 00:44:55 +0200 Subject: [PATCH] libcanfestival: use http download instead of hg checkout This was suggested by @hnyman because hg is not a prerequisite in LEDE or Openwrt, so using that should be avoided, if possible. The tricky part is that the filename is appended to the URL, thus we construct/use an URL where the appended filename does not hurt. Signed-off-by: Michael Heimpold --- libs/libcanfestival/Makefile | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/libs/libcanfestival/Makefile b/libs/libcanfestival/Makefile index a49f97a2d..9b2821db7 100644 --- a/libs/libcanfestival/Makefile +++ b/libs/libcanfestival/Makefile @@ -8,19 +8,21 @@ include $(TOPDIR)/rules.mk PKG_NAME:=libcanfestival -PKG_RELEASE:=4 +PKG_RELEASE:=5 -PKG_SOURCE_PROTO:=hg -PKG_SOURCE_URL:=http://dev.automforge.net/CanFestival-3 -PKG_SOURCE_DATE:=2015-08-03 PKG_SOURCE_VERSION:=8bfe0ac00cdb -PKG_MIRROR_HASH:=6d83e128302956bf654268ed8ee75aa1461f14dc6e566e52966a874564dc4ec5 +PKG_SOURCE_URL:=http://dev.automforge.net/CanFestival-3/archive/$(PKG_SOURCE_VERSION).tar.bz2?_dummyfilename= +PKG_SOURCE:=CanFestival-3-$(PKG_SOURCE_VERSION).tar.bz2 +PKG_SOURCE_SUBDIR:=CanFestival-3-$(PKG_SOURCE_VERSION) +PKG_MIRROR_HASH:=0bee7aaef266fc579922ca159b7acbe9cdc9a936ac1f30402814844b007f7185 PKG_MAINTAINER:=Anton Glukhov PKG_LICENSE:=LGPL-2.1+ PKG_LICENSE_FILES:=LICENCE +PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_SOURCE_SUBDIR) + TAR_OPTIONS+= -m PKG_FIXUP:=autoreconf PKG_INSTALL:=1