2 # Copyright (C) 2009 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR)/rules.mk
9 include $(INCLUDE_DIR)/kernel.mk
14 PKG_SOURCE_URL:=ftp://ftp.proftpd.org/distrib/source
15 PKG_MD5SUM:=ad3cbb5db30c5ae39e09b308892392b3
17 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
18 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
21 include $(INCLUDE_DIR)/package.mk
23 define Package/proftpd
27 TITLE:=ProFTPD FTP server
28 URL:=http://www.proftpd.org/
32 -I$(LINUX_DIR)/include
35 INSTALL_USER=$(shell id -u) \
36 INSTALL_GROUP=$(shell id -g)
42 define Package/proftpd/install
43 $(CP) $(PKG_INSTALL_DIR)/* $(1)/
48 $(1)/usr/lib/pkgconfig \
52 $(eval $(call BuildPackage,proftpd))