define Package/atftp
$(call Package/atftp/Default)
- DEPENDS:=+libreadline +libpcre
+ DEPENDS:=+libreadline +libpcre +libncurses
TITLE+= client
endef
define Package/atftpd
$(call Package/atftp/Default)
- DEPENDS:=+libreadline +libpcre
+ DEPENDS:=+libreadline +libpcre +libpthread
TITLE+= server
endef
endef
define Package/atftp/install
- install -d -m0755 $(1)/usr/sbin
- install -m0755 $(PKG_BUILD_DIR)/atftp $(1)/usr/sbin
+ $(INSTALL_DIR) $(1)/usr/sbin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/atftp $(1)/usr/sbin
endef
define Package/atftpd/install
- install -d -m0755 $(1)/usr/sbin
- install -m0755 $(PKG_BUILD_DIR)/atftpd $(1)/usr/sbin/
+ $(INSTALL_DIR) $(1)/usr/sbin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/atftpd $(1)/usr/sbin/
endef
$(eval $(call BuildPackage,atftp))