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
26 TITLE:=ProFTPD FTP server
27 URL:=http://www.proftpd.org/
31 -I$(LINUX_DIR)/include
34 INSTALL_USER=$(shell id -u) \
35 INSTALL_GROUP=$(shell id -g)
40 define Package/proftpd/install
41 $(CP) $(PKG_INSTALL_DIR)/* $(1)/
46 $(1)/usr/lib/pkgconfig \
50 $(eval $(call BuildPackage,proftpd))