remove "-fno-rtti" c++ compiler flag preventing dynamic_cast use (closes: #3731)
[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 # $Id$
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=vsftpd
12 PKG_VERSION:=2.0.6
13 PKG_RELEASE:=2
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=ftp://vsftpd.beasts.org/users/cevans/
17 PKG_MD5SUM:=f7a742690d7f86e356fb66d3840079c7
18
19 include $(INCLUDE_DIR)/package.mk
20
21 define Package/vsftpd
22 SUBMENU:=FTP
23 SECTION:=net
24 CATEGORY:=Network
25 TITLE:=A fast and secure FTP server
26 URL:=http://vsftpd.beasts.org/
27 endef
28
29 define Package/vsftpd/conffiles
30 /etc/vsftpd.conf
31 endef
32
33 define Package/vsftpd/install
34 $(INSTALL_DIR) $(1)/usr/sbin
35 $(INSTALL_BIN) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/sbin/
36 $(INSTALL_DIR) $(1)/etc
37 $(INSTALL_CONF) ./files/$(PKG_NAME).conf $(1)/etc/$(PKG_NAME).conf
38 $(INSTALL_DIR) $(1)/etc/init.d
39 $(INSTALL_BIN) ./files/$(PKG_NAME).init $(1)/etc/init.d/$(PKG_NAME)
40 endef
41
42 $(eval $(call BuildPackage,vsftpd))