DESCRIPTION:= is obselete
[packages.git] / net / pure-ftpd / 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
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=pure-ftpd
11 PKG_VERSION:=1.0.21
12 PKG_RELEASE:=1
13 PKG_MD5SUM:=ca8a8dbec0cd9c8ea92fc4c37ea9c410
14
15 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
16 PKG_SOURCE_URL:=http://download.pureftpd.org/pub/pure-ftpd/releases/
17 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
18
19 PKG_CAT:=bzcat
20
21 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
22
23 include $(INCLUDE_DIR)/package.mk
24
25 define Package/pure-ftpd
26   SUBMENU:=FTP
27   SECTION:=net
28   CATEGORY:=Network
29   DEPENDS:=+libelf
30   TITLE:=Secure FTP made easy!
31   URL:=http://www.pureftpd.org/project/pure-ftpd
32 endef
33
34 define Package/pure-ftpd/description
35         Pure-FTPd is a free (BSD), secure, production-quality and standard-conformant FTP server.\      It doesn't provide useless bells and whistles, but focuses on efficiency and ease of use.\      It provides simple answers to common needs, plus unique useful features for personal users\     as well as hosting providers.
36 endef
37
38 define Build/Configure
39         $(call Build/Configure/Default,--with-everything)
40 endef
41
42 define Package/pure-ftpd/install
43         $(INSTALL_DIR) $(1)/etc/init.d $(1)/usr/sbin
44         install -m0755 ./files/$(PKG_NAME).init $(1)/etc/init.d/$(PKG_NAME)
45         $(CP) $(PKG_BUILD_DIR)/src/pure-{ftpd,pw,ftpwho,mrtginfo,pwconvert,quotacheck,statsdecode,uploadscript,authd} $(1)/usr/sbin/
46         $(CP) $(PKG_BUILD_DIR)/src/ptracetest $(1)/usr/sbin/
47 endef
48
49 $(eval $(call BuildPackage,pure-ftpd))