3 include $(TOPDIR
)/rules.mk
8 PKG_MD5SUM
:=c0bf8c7b8e15ab15827172786fc56115
10 PKG_SOURCE_URL
:=ftp
://vsftpd.beasts.org
/users
/cevans
/
11 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
14 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
15 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
17 include $(TOPDIR
)/package
/rules.mk
19 $(eval
$(call PKG_template
,VSFTPD
,vsftpd
,$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
)))
21 $(PKG_BUILD_DIR
)/.configured
:
24 $(PKG_BUILD_DIR
)/.built
:
25 rm -rf
$(PKG_INSTALL_DIR
)
26 mkdir
-p
$(PKG_INSTALL_DIR
)
27 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
28 $(TARGET_CONFIGURE_OPTS
) \
29 CFLAGS
="$(TARGET_CFLAGS)" \
30 DESTDIR
="$(PKG_INSTALL_DIR)" \
35 install -d
-m0755
$(IDIR_VSFTPD
)/etc
36 install -m0644 .
/files
/vsftpd.conf
$(IDIR_VSFTPD
)/etc
/vsftpd.conf
37 install -d
-m0755
$(IDIR_VSFTPD
)/etc
/init.d
38 install -m0755 .
/files
/vsftpd.init
$(IDIR_VSFTPD
)/etc
/init.d
/vsftpd
39 install -d
-m0755
$(IDIR_VSFTPD
)/usr
/sbin
40 cp
-fpR
$(PKG_INSTALL_DIR
)/usr
/sbin
/vsftpd
$(IDIR_VSFTPD
)/usr
/sbin
/
41 $(RSTRIP
) $(IDIR_VSFTPD
)
42 $(IPKG_BUILD
) $(IDIR_VSFTPD
) $(PACKAGE_DIR
)