X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=net%2Ftftp-hpa%2FMakefile;h=0adddf12255ffeecda48bec225066939fe519823;hb=21e7ee6b69dcaf58641325b04b8fe888c9b6a984;hp=72897bb51869bbd70ef0b40713c0496003c914b9;hpb=4439ac642a3297d00909a528b881c7542890bd0b;p=openwrt%2Fsvn-archive%2Farchive.git diff --git a/net/tftp-hpa/Makefile b/net/tftp-hpa/Makefile index 72897bb518..0adddf1225 100644 --- a/net/tftp-hpa/Makefile +++ b/net/tftp-hpa/Makefile @@ -1,29 +1,26 @@ # -# Copyright (C) 2006 OpenWrt.org +# Copyright (C) 2006-2009 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. # -# $Id: Makefile 5348 2006-10-30 13:51:50Z nico $ include $(TOPDIR)/rules.mk PKG_NAME:=tftp-hpa -PKG_VERSION:=0.43 -PKG_RELEASE:=1 +PKG_VERSION:=0.48 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz -PKG_SOURCE_URL:=ftp://ftp.kernel.org/pub/software/network/tftp -PKG_MD5SUM:= -PKG_CAT:=zcat - -PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) +PKG_SOURCE_URL:=@KERNEL/software/network/tftp +PKG_MD5SUM:=73dd29dfa9062a174163f6a267e0b5f7 include $(INCLUDE_DIR)/package.mk define Package/tftp-hpa/Default SECTION:=net CATEGORY:=Network + DEPENDS:=+libreadline URL:=http://www.kernel.org/pub/software/network/tftp endef @@ -39,7 +36,7 @@ endef define Build/Configure $(call Build/Configure/Default, \ - , \ + --without-tcpwrappers, \ CFLAGS="$$$$CFLAGS $$$$CPPFLAGS" \ ) endef @@ -49,15 +46,15 @@ define Build/Compile endef define Package/tftp-hpa/install - install -d -m0755 $(1)/usr/bin - install -m0755 $(PKG_BUILD_DIR)/tftp/tftp $(1)/usr/bin/tftp-hpa + $(INSTALL_DIR) $(1)/usr/bin + $(INSTALL_BIN) $(PKG_BUILD_DIR)/tftp/tftp $(1)/usr/bin/tftp-hpa endef define Package/tftpd-hpa/install - install -d -m0755 $(1)/usr/sbin - install -m0755 $(PKG_BUILD_DIR)/tftpd/tftpd $(1)/usr/sbin/tftpd-hpa - install -d -m0755 $(1)/etc/init.d - install -m0755 ./files/tftpd-hpa.init $(1)/etc/init.d/tftpd-hpa + $(INSTALL_DIR) $(1)/usr/sbin + $(INSTALL_BIN) $(PKG_BUILD_DIR)/tftpd/tftpd $(1)/usr/sbin/tftpd-hpa + $(INSTALL_DIR) $(1)/etc/init.d + $(INSTALL_BIN) ./files/tftpd-hpa.init $(1)/etc/init.d/tftpd-hpa endef $(eval $(call BuildPackage,tftp-hpa))