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.
7 # $Id: Makefile 5348 2006-10-30 13:51:50Z nico $
9 include $(TOPDIR
)/rules.mk
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
16 PKG_SOURCE_URL
:=ftp
://ftp.kernel.org
/pub
/software
/network
/tftp
20 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
22 include $(INCLUDE_DIR
)/package.mk
24 define Package
/tftp-hpa
27 TITLE
:=tftp-hpa is an enhanced version of the BSD TFTP client
28 URL
:=http
://www.kernel.org
/pub
/software
/network
/tftp
31 define Package
/tftpd-hpa
34 TITLE
:=tftp-hpa is an enhanced version of the BSD TFTP server
35 URL
:=http
://www.kernel.org
/pub
/software
/network
/tftp
38 define Build
/Configure
39 $(call Build
/Configure
/Default
)
43 $(MAKE
) -C
$(PKG_BUILD_DIR
)
46 define Package
/tftp-hpa
/install
47 install -d
-m0755
$(1)/usr
/bin
48 install -m0755
$(PKG_BUILD_DIR
)/tftp
/tftp
$(1)/usr
/bin
/tftp-hpa
51 define Package
/tftpd-hpa
/install
52 install -d
-m0755
$(1)/usr
/sbin
53 install -m0755
$(PKG_BUILD_DIR
)/tftpd
/tftpd
$(1)/usr
/sbin
/tftpd-hpa
54 install -d
-m0755
$(1)/etc
/init.d
55 install -m0755 .
/files
/tftpd-hpa.init
$(1)/etc
/init.d
/tftpd-hpa
58 $(eval
$(call BuildPackage
,tftp-hpa
))
59 $(eval
$(call BuildPackage
,tftpd-hpa
))