2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=@KERNEL
/software
/network
/tftp
16 PKG_MD5SUM
:=73dd29dfa9062a174163f6a267e0b5f7
18 include $(INCLUDE_DIR
)/package.mk
20 define Package
/tftp-hpa
/Default
23 URL
:=http
://www.kernel.org
/pub
/software
/network
/tftp
26 define Package
/tftp-hpa
27 $(call Package
/tftp-hpa
/Default
)
28 TITLE
:=An enhanced version of the BSD TFTP client
31 define Package
/tftpd-hpa
32 $(call Package
/tftp-hpa
/Default
)
33 TITLE
:=An enhanced version of the BSD TFTP server
36 define Build
/Configure
37 $(call Build
/Configure
/Default
, \
39 CFLAGS
="$$$$CFLAGS $$$$CPPFLAGS" \
44 $(MAKE
) -C
$(PKG_BUILD_DIR
)
47 define Package
/tftp-hpa
/install
48 $(INSTALL_DIR
) $(1)/usr
/bin
49 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/tftp
/tftp
$(1)/usr
/bin
/tftp-hpa
52 define Package
/tftpd-hpa
/install
53 $(INSTALL_DIR
) $(1)/usr
/sbin
54 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/tftpd
/tftpd
$(1)/usr
/sbin
/tftpd-hpa
55 $(INSTALL_DIR
) $(1)/etc
/init.d
56 $(INSTALL_BIN
) .
/files
/tftpd-hpa.init
$(1)/etc
/init.d
/tftpd-hpa
59 $(eval
$(call BuildPackage
,tftp-hpa
))
60 $(eval
$(call BuildPackage
,tftpd-hpa
))