packages: add missing conffiles define
[openwrt/svn-archive/archive.git] / multimedia / ftpd-topfield / Makefile
1 #
2 # Copyright (C) 2008-2011 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=ftpd-topfield
11 PKG_VERSION:=0.7.4
12 PKG_RELEASE:=2
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=@SF/puppy
16 PKG_MD5SUM:=4a29f04fd41aaa5890e2f202d936e270
17
18 include $(INCLUDE_DIR)/package.mk
19
20 define Package/ftpd-topfield
21 SECTION:=multimedia
22 CATEGORY:=Multimedia
23 DEPENDS:=@USB_SUPPORT +libusb
24 TITLE:=Topfield PVR access via FTP
25 URL:=http://puppy.sourceforge.net/
26 endef
27
28 define Package/ftpd-topfield/description
29 FTP server to export the filesystem of a connected Topfield PVR
30 endef
31
32 define Build/Configure
33 endef
34
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.sh $(1)/etc/init.d/ftpd-topfield
40 $(INSTALL_DIR) $(1)/etc/config
41 $(INSTALL_DATA) ./files/ftpd-topfield.conf $(1)/etc/config/ftpd-topfield
42 endef
43
44 define Package/ftpd-topfield/conffiles
45 /etc/config/ftpd-topfield
46 endef
47
48 $(eval $(call BuildPackage,ftpd-topfield))