2 # Copyright (C) 2006-2015 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
7 include $(TOPDIR
)/rules.mk
13 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
14 PKG_SOURCE_URL
:=@SF
/$(PKG_NAME
)
15 PKG_HASH
:=df2aa089c7670f9eab40e5598e5d2cb6a582dc5182926ea50b4d690e4e37f316
17 PKG_MAINTAINER
:=Daniel Danzberger
<daniel@dd-wrt.com
>
18 PKG_LICENSE
:=GPL-2.0
-or-later
19 PKG_LICENSE_FILES
:=LICENSE
26 include $(INCLUDE_DIR
)/package.mk
28 define Package
/atftp
/Default
32 SUBMENU
:=File Transfer
36 $(call Package
/atftp
/Default
)
37 DEPENDS
:=+libreadline
+libncurses
42 $(call Package
/atftp
/Default
)
43 DEPENDS
:=+libpcre2
+libpthread
51 define Package
/atftp
/install
52 $(INSTALL_DIR
) $(1)/usr
/bin
53 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/atftp
$(1)/usr
/bin
/
56 define Package
/atftpd
/install
57 $(INSTALL_DIR
) $(1)/etc
58 $(INSTALL_DIR
) $(1)/etc
/init.d
59 $(INSTALL_BIN
) .
/files
/atftpd.init
$(1)/etc
/init.d
/atftpd
60 $(INSTALL_DIR
) $(1)/etc
/config
61 $(INSTALL_CONF
) .
/files
/atftpd.conf
$(1)/etc
/config
/atftpd
62 $(INSTALL_DIR
) $(1)/srv
/tftp
63 $(INSTALL_DIR
) $(1)/usr
/sbin
64 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)//usr
/sbin
/atftpd
$(1)/usr
/sbin
/
67 define Package
/atftpd
/conffiles
71 $(eval
$(call BuildPackage
,atftp
))
72 $(eval
$(call BuildPackage
,atftpd
))