nuke $Id$ in /packages as well
[openwrt/svn-archive/archive.git] / net / vsftpd / Makefile
1 #
2 # Copyright (C) 2006-2008 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:=vsftpd
11 PKG_VERSION:=2.1.0
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=ftp://vsftpd.beasts.org/users/cevans/
16 PKG_MD5SUM:=7890b54e7ffa6106ffbdfda53f47fa41
17
18 include $(INCLUDE_DIR)/package.mk
19
20 define Package/vsftpd
21 SUBMENU:=FTP
22 SECTION:=net
23 CATEGORY:=Network
24 TITLE:=A fast and secure FTP server
25 URL:=http://vsftpd.beasts.org/
26 endef
27
28 define Package/vsftpd/conffiles
29 /etc/vsftpd.conf
30 endef
31
32 define Package/vsftpd/install
33 $(INSTALL_DIR) $(1)/usr/sbin
34 $(INSTALL_BIN) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/sbin/
35 $(INSTALL_DIR) $(1)/etc
36 $(INSTALL_CONF) ./files/$(PKG_NAME).conf $(1)/etc/$(PKG_NAME).conf
37 $(INSTALL_DIR) $(1)/etc/init.d
38 $(INSTALL_BIN) ./files/$(PKG_NAME).init $(1)/etc/init.d/$(PKG_NAME)
39 endef
40
41 $(eval $(call BuildPackage,vsftpd))