Category reorganization
[openwrt/svn-archive/archive.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 DESCRIPTION:=\
32 Pure-FTPd is a free (BSD), secure, production-quality and standard-conformant FTP server.\
33 It doesn't provide useless bells and whistles, but focuses on efficiency and ease of use.\
34 It provides simple answers to common needs, plus unique useful features for personal users\
35 as well as hosting providers.
36 URL:=http://www.pureftpd.org/project/pure-ftpd
37 endef
38
39 define Build/Configure
40 $(call Build/Configure/Default,--with-everything)
41 endef
42
43 define Package/pure-ftpd/install
44 $(INSTALL_DIR) $(1)/etc/init.d $(1)/usr/sbin
45 install -m0755 ./files/$(PKG_NAME).init $(1)/etc/init.d/$(PKG_NAME)
46 $(CP) $(PKG_BUILD_DIR)/src/pure-{ftpd,pw,ftpwho,mrtginfo,pwconvert,quotacheck,statsdecode,uploadscript,authd} $(1)/usr/sbin/
47 $(CP) $(PKG_BUILD_DIR)/src/ptracetest $(1)/usr/sbin/
48 endef
49
50 $(eval $(call BuildPackage,pure-ftpd))