fix curl compile (based on patch by Ambroz Bizjak)
[openwrt/svn-archive/archive.git] / net / vsftpd / Makefile
1 #
2 # Copyright (C) 2006 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.5
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:=146062e8b2f93af43ff6c2c770feea94
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)/vsftpd $(1)/usr/sbin/
36 $(INSTALL_DIR) $(1)/etc
37 $(INSTALL_CONF) ./files/vsftpd.conf $(1)/etc/vsftpd.conf
38 $(INSTALL_DIR) $(1)/etc/init.d
39 $(INSTALL_BIN) ./files/vsftpd.init $(1)/etc/init.d/vsftpd
40 endef
41
42 $(eval $(call BuildPackage,vsftpd))