2014-03-27 07:04:09 +00:00
|
|
|
#
|
2014-03-08 00:57:39 +00:00
|
|
|
# Copyright (C) 2006-2014 OpenWrt.org
|
2007-02-19 15:30:20 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=tspc
|
|
|
|
PKG_VERSION:=2.1.1
|
2014-03-08 00:57:39 +00:00
|
|
|
PKG_RELEASE:=3
|
2007-02-19 15:30:20 +00:00
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).orig.tar.gz
|
2007-03-26 14:33:28 +00:00
|
|
|
PKG_SOURCE_URL:=http://ftp.fr.debian.org/debian/pool/main/t/tspc/
|
2007-02-19 15:30:20 +00:00
|
|
|
PKG_MD5SUM:=65183cae002feaacd8bc92d6a5404cc2
|
|
|
|
|
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)2
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/tspc
|
2013-05-14 15:02:57 +00:00
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
2007-02-19 15:30:20 +00:00
|
|
|
TITLE:=Client for Hexago's (Freenet6's) IPv6 service
|
|
|
|
URL:=http://www.hexago.com
|
|
|
|
endef
|
|
|
|
|
2007-10-14 04:32:56 +00:00
|
|
|
define Package/tspc/description
|
2014-03-27 07:04:09 +00:00
|
|
|
Client to configure an IPv6 tunnel to
|
2007-10-14 04:32:56 +00:00
|
|
|
Hexago's (Freenet6's) migration broker.
|
|
|
|
endef
|
|
|
|
|
2007-07-31 10:17:25 +00:00
|
|
|
MAKE_FLAGS += \
|
|
|
|
CFLAGS="$(TARGET_CFLAGS) -I$(PKG_BUILD_DIR)/include -I$(PKG_BUILD_DIR)/platform/linux" \
|
2014-03-08 00:57:39 +00:00
|
|
|
SED="/bin/true" \
|
2007-09-06 11:41:26 +00:00
|
|
|
target=linux \
|
|
|
|
all
|
2007-02-19 15:30:20 +00:00
|
|
|
|
|
|
|
define Package/tspc/install
|
|
|
|
$(INSTALL_DIR) $(1)/bin
|
2007-07-31 10:17:25 +00:00
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/bin/tspc $(1)/bin/
|
2007-02-19 15:30:20 +00:00
|
|
|
$(INSTALL_DIR) $(1)/etc/tsp
|
2007-09-06 11:41:26 +00:00
|
|
|
$(INSTALL_CONF) $(PKG_BUILD_DIR)/bin/tspc.conf.sample $(1)/etc/tsp/tspc.conf
|
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/template/linux.sh $(1)/etc/tsp/setup.sh
|
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/template/checktunnel.sh $(1)/etc/tsp/
|
2007-02-19 15:30:20 +00:00
|
|
|
endef
|
|
|
|
|
2011-11-16 20:02:41 +00:00
|
|
|
define Package/tspc/conffiles
|
|
|
|
/etc/tsp/tspc.conf
|
|
|
|
endef
|
|
|
|
|
2007-02-19 15:30:20 +00:00
|
|
|
$(eval $(call BuildPackage,tspc))
|