ftpd-topfield: add missing dependency on libusb
[openwrt/svn-archive/archive.git] / multimedia / ftpd-topfield / Makefile
1
2 include $(TOPDIR)/rules.mk
3
4 PKG_NAME:=ftpd-topfield
5 PKG_VERSION:=0.7.4
6 PKG_RELEASE:=1
7
8 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
9 PKG_SOURCE_URL:=@SF/puppy
10 PKG_MD5SUM:=4a29f04fd41aaa5890e2f202d936e270
11
12 include $(INCLUDE_DIR)/package.mk
13
14 define Package/ftpd-topfield
15 SECTION:=multimedia
16 CATEGORY:=Multimedia
17 DEPENDS:=@USB_SUPPORT +libusb
18 TITLE:=Topfield PVR access via FTP
19 URL:=http://puppy.sourceforge.net/
20 endef
21
22 define Package/ftpd-topfield/description
23 FTP server to export the filesystem of a connected Topfield PVR
24 endef
25
26 define Build/Configure
27 endef
28
29 define Package/ftpd-topfield/install
30 $(INSTALL_DIR) $(1)/usr/sbin
31 $(INSTALL_BIN) $(PKG_BUILD_DIR)/ftpd $(1)/usr/sbin/ftpd-topfield
32 $(INSTALL_DIR) $(1)/etc/init.d
33 $(INSTALL_BIN) ./files/ftpd-topfield.sh $(1)/etc/init.d/ftpd-topfield
34 $(INSTALL_DIR) $(1)/etc/config
35 $(INSTALL_DATA) ./files/ftpd-topfield.conf $(1)/etc/config/ftpd-topfield
36 endef
37
38 $(eval $(call BuildPackage,ftpd-topfield))