2 # Copyright (C) 2008-2011 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR)/rules.mk
10 PKG_NAME:=ftpd-topfield
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=@SF/puppy
16 PKG_MD5SUM:=4a29f04fd41aaa5890e2f202d936e270
18 include $(INCLUDE_DIR)/package.mk
20 define Package/ftpd-topfield
23 DEPENDS:=@USB_SUPPORT +libusb-compat
24 TITLE:=Topfield PVR access via FTP
25 URL:=http://puppy.sourceforge.net/
28 define Package/ftpd-topfield/description
29 FTP server to export the filesystem of a connected Topfield PVR
32 define Build/Configure
35 define Package/ftpd-topfield/install
36 $(INSTALL_DIR) $(1)/usr/sbin
37 $(INSTALL_BIN) $(PKG_BUILD_DIR)/ftpd $(1)/usr/sbin/ftpd-topfield
38 $(INSTALL_DIR) $(1)/etc/init.d
39 $(INSTALL_BIN) ./files/ftpd-topfield.init $(1)/etc/init.d/ftpd-topfield
40 $(INSTALL_DIR) $(1)/etc/config
41 $(INSTALL_DATA) ./files/ftpd-topfield.config $(1)/etc/config/ftpd-topfield
44 define Package/ftpd-topfield/conffiles
45 /etc/config/ftpd-topfield
48 $(eval $(call BuildPackage,ftpd-topfield))