6 VSFTPD_SOURCE
:=vsftpd-
$(VSFTPD_VERSION
).
tar.gz
7 VSFTPD_SITE
:=ftp
://vsftpd.beasts.org
/users
/cevans
/
8 VSFTPD_DIR
:=$(BUILD_DIR
)/vsftpd-
$(VSFTPD_VERSION
)
11 VSFTPD_PATCH_DIR
:= $(SOURCE_DIR
)/openwrt
/patches
/vsftpd
13 VSFTPD_BUILD_DIR
:= $(BUILD_DIR
)/vsftpd_
$(VSFTPD_VERSION
)-$(VSFTPD_RELEASE
)
14 VSFTPD_IPK_DIR
:= $(OPENWRT_IPK_DIR
)/vsftpd
15 VSFTPD_IPK
:= $(VSFTPD_BUILD_DIR
)_
$(ARCH
).ipk
18 $(DL_DIR
)/$(VSFTPD_SOURCE
):
19 $(WGET
) -P
$(DL_DIR
) $(VSFTPD_SITE
)/$(VSFTPD_SOURCE
)
22 $(VSFTPD_DIR
)/.stamp-unpacked
: $(DL_DIR
)/$(VSFTPD_SOURCE
)
23 $(VSFTPD_CAT
) $(DL_DIR
)/$(VSFTPD_SOURCE
) |
tar -C
$(BUILD_DIR
) -xvf
-
25 touch
$(VSFTPD_DIR
)/.stamp-unpacked
28 $(VSFTPD_DIR
)/.stamp-patched
: $(VSFTPD_DIR
)/.stamp-unpacked
29 $(SOURCE_DIR
)/patch-kernel.sh
$(VSFTPD_DIR
) $(VSFTPD_PATCH_DIR
)
31 touch
$(VSFTPD_DIR
)/.stamp-patched
34 $(VSFTPD_DIR
)/.stamp-built
: $(VSFTPD_DIR
)/.stamp-patched
37 $(TARGET_CONFIGURE_OPTS
) \
38 CFLAGS
="$(TARGET_CFLAGS)" \
40 touch
$(VSFTPD_DIR
)/.stamp-built
43 $(VSFTPD_BUILD_DIR
): $(VSFTPD_DIR
)/.stamp-built
44 mkdir
-p
$(VSFTPD_BUILD_DIR
)
46 install -m0755
-d
$(VSFTPD_BUILD_DIR
)/usr
/sbin
47 install -m0755
$(VSFTPD_DIR
)/vsftpd
$(VSFTPD_BUILD_DIR
)/usr
/sbin
/
49 install -m0755
-d
$(VSFTPD_BUILD_DIR
)/etc
50 install -m0644
$(VSFTPD_IPK_DIR
)/root
/etc
/vsftpd.conf
$(VSFTPD_BUILD_DIR
)/etc
/
51 install -m0755
-d
$(VSFTPD_BUILD_DIR
)/etc
/init.d
52 install -m0755
$(VSFTPD_IPK_DIR
)/root
/etc
/init.d
/vsftpd
$(VSFTPD_BUILD_DIR
)/etc
/init.d
/
54 $(STRIP
) $(VSFTPD_BUILD_DIR
)/usr
/sbin
/*
57 $(VSFTPD_IPK
): $(VSFTPD_BUILD_DIR
)
58 cp
-a
$(VSFTPD_IPK_DIR
)/CONTROL
$(VSFTPD_BUILD_DIR
)/
59 perl
-pi
-e
"s/^Vers.*:.*$$/Version: $(VSFTPD_VERSION)-$(VSFTPD_RELEASE)/" $(VSFTPD_BUILD_DIR
)/CONTROL
/control
60 perl
-pi
-e
"s/^Arch.*:.*$$/Architecture: $(ARCH)/" $(VSFTPD_BUILD_DIR
)/CONTROL
/control
61 cd
$(BUILD_DIR
); $(IPKG_BUILD
) $(VSFTPD_BUILD_DIR
)
64 vsftpd-source
: $(DL_DIR
)/$(VSFTPD_SOURCE
)
66 vsftpd-ipk
: ipkg-utils
$(VSFTPD_IPK
)
70 rm -rf
$(VSFTPD_BUILD_DIR
)
This page took 0.059958 seconds and 5 git commands to generate.