1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-11-26 03:06:15 +02:00

added second download mirror.

This commit is contained in:
David Kühling 2010-07-31 17:24:54 +02:00
parent d25f457bd7
commit 2a206afc2f

View File

@ -16,20 +16,29 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=gforth PKG_NAME:=gforth
PKG_VERSION:=0.7.0-20100725 PKG_SNAPSHOT_DATE=20100725
PKG_RELEASE:=9 PKG_VERSION=0.7.0-$(PKG_SNAPSHOT_DATE)
PKG_RELEASE:=10
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://mosquito.dyndns.tv/~spock/
PKG_MD5SUM:=f030bdfe42a9be32889d5b4c8cb37856
PKG_BUILD_DEPENDS:= gforth/host libltdl/host PKG_BUILD_DEPENDS:= gforth/host libltdl/host
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_FIXUP:=libtool
include $(INCLUDE_DIR)/host-build.mk PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
include $(INCLUDE_DIR)/package.mk PKG_SOURCE_URL:=\
http://user.cs.tu-berlin.de/~dvdkhlng/ \
http://mosquito.dyndns.tv/~spock/
PKG_MD5SUM:=f030bdfe42a9be32889d5b4c8cb37856
# for now: override download and use local gforth sources # Alternate download #1 via CVS: this doesn't work, as CVS is missing the
# kernel.fi images needed for boot-strapping :(
# PKG_SOURCE_PROTO:=cvs
# PKG_SOURCE_VERSION="-D$(PKG_SNAPSHOT_DATE) 23:59"
# PKG_SOURCE_URL=:pserver:anonymous@c1.complang.tuwien.ac.at:/nfs/unsafe/cvs-repository/src-master
# PKG_SOURCE_SUBDIR:=gforth
# PKG_SOURCE:=gforth-$(PKG_SNAPSHOT_DATE).tar.gz
# alternate download #2: use local sources
# remove the prepare.stamp if updating tgz # remove the prepare.stamp if updating tgz
# define Build/Prepare # define Build/Prepare
# mkdir -p $(PKG_BUILD_DIR) # mkdir -p $(PKG_BUILD_DIR)
@ -40,6 +49,9 @@ include $(INCLUDE_DIR)/package.mk
# (cd $(HOST_BUILD_DIR)/.. && tar -xzvf -) < ~/forth/gforth/$(PKG_SOURCE) # (cd $(HOST_BUILD_DIR)/.. && tar -xzvf -) < ~/forth/gforth/$(PKG_SOURCE)
# endef # endef
include $(INCLUDE_DIR)/host-build.mk
include $(INCLUDE_DIR)/package.mk
define Package/gforth define Package/gforth
SECTION:=lang SECTION:=lang
CATEGORY:=Languages CATEGORY:=Languages