From: Michael Heimpold Date: Tue, 18 Apr 2017 22:44:55 +0000 (+0200) Subject: libcanfestival: use http download instead of hg checkout X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=74a9d5b4f7cc40ffa5cb47047278b42ce1b4ee91;p=feed%2Fpackages.git 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 --- diff --git a/libs/libcanfestival/Makefile b/libs/libcanfestival/Makefile index a49f97a2d2..9b2821db74 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