Install missing script files, thanks to Thomas Riche for his submission !

git-svn-id: svn://svn.openwrt.org/openwrt/packages@8648 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian 2007-09-06 11:41:26 +00:00
parent 310b50909b
commit 9f8d8ab9ea

View File

@ -33,13 +33,16 @@ endef
MAKE_FLAGS += \
CFLAGS="$(TARGET_CFLAGS) -I$(PKG_BUILD_DIR)/include -I$(PKG_BUILD_DIR)/platform/linux" \
target=linux
target=linux \
all
define Package/tspc/install
$(INSTALL_DIR) $(1)/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/bin/tspc $(1)/bin/
$(INSTALL_DIR) $(1)/etc/tsp
$(INSTALL_DATA) $(PKG_BUILD_DIR)/bin/tspc.conf.sample $(1)/etc/tsp/tspc.conf
$(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/
endef
$(eval $(call BuildPackage,tspc))