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
:=93c87a4fb18218414e008e01c995dadd231ba4c752d0f894b34416d1e6d3038a
17 PKG_MAINTAINER
:=Daniel Danzberger
<daniel@dd-wrt.com
>
18 PKG_LICENSE
:=GPL-2.0
-or-later
19 PKG_LICENSE_FILES
:=LICENSE
24 include $(INCLUDE_DIR
)/package.mk
26 define Package
/atftp
/Default
30 SUBMENU
:=File Transfer
34 $(call Package
/atftp
/Default
)
35 DEPENDS
:=+libreadline
+libncurses
40 $(call Package
/atftp
/Default
)
41 DEPENDS
:=+libpcre
+libpthread
49 define Package
/atftp
/install
50 $(INSTALL_DIR
) $(1)/usr
/bin
51 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/atftp
$(1)/usr
/bin
/
54 define Package
/atftpd
/install
55 $(INSTALL_DIR
) $(1)/etc
56 $(INSTALL_DIR
) $(1)/etc
/init.d
57 $(INSTALL_BIN
) .
/files
/atftpd.init
$(1)/etc
/init.d
/atftpd
58 $(INSTALL_DIR
) $(1)/etc
/config
59 $(INSTALL_CONF
) .
/files
/atftpd.conf
$(1)/etc
/config
/atftpd
60 $(INSTALL_DIR
) $(1)/srv
/tftp
61 $(INSTALL_DIR
) $(1)/usr
/sbin
62 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)//usr
/sbin
/atftpd
$(1)/usr
/sbin
/
65 define Package
/atftpd
/conffiles
69 $(eval
$(call BuildPackage
,atftp
))
70 $(eval
$(call BuildPackage
,atftpd
))