source: packages/net/vsftpd/Makefile @ 31241

Last change on this file since 31241 was 31241, checked in by jow, 4 years ago

[packages] vsftpd: override LDFLAGS as well to avoid -fpic requirement, refresh patches (#11263)

  • Property copyright set to Copyright (C) 2006-2008 OpenWrt.org
  • Property licence set to GPLv2
  • Property svn:eol-style set to native
File size: 1.2 KB
Line 
1#
2# Copyright (C) 2006-2012 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=vsftpd
11PKG_VERSION:=3.0.0
12PKG_RELEASE:=1
13
14PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15PKG_SOURCE_URL:=https://security.appspot.com/downloads/
16PKG_MD5SUM:=ad9fa952558c2c5b0426ccaccff0f972
17
18include $(INCLUDE_DIR)/package.mk
19
20define Package/vsftpd
21  SUBMENU:=File Transfer
22  SECTION:=net
23  CATEGORY:=Network
24  TITLE:=A fast and secure FTP server
25  URL:=http://vsftpd.beasts.org/
26  MAINTAINER:=Cezary Jackiewicz <cezary@eko.one.pl>
27endef
28
29define Package/vsftpd/conffiles
30/etc/vsftpd.conf
31endef
32
33define Build/Compile
34        $(MAKE) -C $(PKG_BUILD_DIR) \
35                CC="$(TARGET_CC)" \
36                CFLAGS="$(TARGET_CFLAGS)" \
37                LDFLAGS="$(TARGET_LDFLAGS)" \
38                vsftpd
39endef
40
41define Package/vsftpd/install
42        $(INSTALL_DIR) $(1)/usr/sbin
43        $(INSTALL_BIN) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/sbin/
44        $(INSTALL_DIR) $(1)/etc
45        $(INSTALL_CONF) ./files/$(PKG_NAME).conf $(1)/etc/$(PKG_NAME).conf
46        $(INSTALL_DIR) $(1)/etc/init.d
47        $(INSTALL_BIN) ./files/$(PKG_NAME).init $(1)/etc/init.d/$(PKG_NAME)
48endef
49
50$(eval $(call BuildPackage,vsftpd))
Note: See TracBrowser for help on using the repository browser.