packages/net/vsftpd/Makefile
olli 94b3d03d11 vsftpd: Cleanup Makefile
git-svn-id: svn://svn.openwrt.org/openwrt/packages@8414 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-15 18:21:44 +00:00

42 lines
944 B
Makefile

#
# Copyright (C) 2006 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# $Id$
include $(TOPDIR)/rules.mk
PKG_NAME:=vsftpd
PKG_VERSION:=2.0.5
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=ftp://vsftpd.beasts.org/users/cevans/
PKG_MD5SUM:=146062e8b2f93af43ff6c2c770feea94
include $(INCLUDE_DIR)/package.mk
define Package/vsftpd
SECTION:=net
CATEGORY:=Network
TITLE:=A fast and secure FTP server
URL:=http://vsftpd.beasts.org/
endef
define Package/vsftpd/conffiles
/etc/vsftpd.conf
endef
define Package/vsftpd/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/vsftpd $(1)/usr/sbin/
$(INSTALL_DIR) $(1)/etc
$(INSTALL_CONF) ./files/vsftpd.conf $(1)/etc/vsftpd.conf
$(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_BIN) ./files/vsftpd.init $(1)/etc/init.d/vsftpd
endef
$(eval $(call BuildPackage,vsftpd))