hauke 83c14e180d [packages] Various Makefile cleanups.
Thanks to swalker.


git-svn-id: svn://svn.openwrt.org/openwrt/packages@16438 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-13 17:01:55 +00:00

39 lines
954 B
Makefile

include $(TOPDIR)/rules.mk
PKG_NAME:=ftpd-topfield
PKG_VERSION:=0.7.4
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/puppy
PKG_MD5SUM:=4a29f04fd41aaa5890e2f202d936e270
include $(INCLUDE_DIR)/package.mk
define Package/ftpd-topfield
SECTION:=multimedia
CATEGORY:=Multimedia
DEPENDS:=@USB_SUPPORT
TITLE:=Topfield PVR access via FTP
URL:=http://puppy.sourceforge.net/
endef
define Package/ftpd-topfield/description
FTP server to export the filesystem of a connected Topfield PVR
endef
define Build/Configure
endef
define Package/ftpd-topfield/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/ftpd $(1)/usr/sbin/ftpd-topfield
$(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_BIN) ./files/ftpd-topfield.sh $(1)/etc/init.d/ftpd-topfield
$(INSTALL_DIR) $(1)/etc/config
$(INSTALL_DATA) ./files/ftpd-topfield.conf $(1)/etc/init.d/ftpd-topfield
endef
$(eval $(call BuildPackage,ftpd-topfield))