massive Makefile cleanup, add missing 'svn:keywords' property

git-svn-id: svn://svn.openwrt.org/openwrt/packages@5348 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nico
2006-10-30 13:51:50 +00:00
parent d6c03f5259
commit 5cb332fb35
139 changed files with 1341 additions and 1322 deletions

View File

@ -4,40 +4,40 @@
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# $Id: Makefile 4112 2006-07-02 20:33:21Z nico $
# $Id$
include $(TOPDIR)/rules.mk
PKG_NAME:=yafc
PKG_VERSION:=1.1.1
PKG_RELEASE:=1
PKG_MD5SUM:=832d074183a36ee15b47553ed5962fce
PKG_SOURCE_URL:=@SF/$(PKG_NAME)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=@SF/$(PKG_NAME)
PKG_MD5SUM:=832d074183a36ee15b47553ed5962fce
PKG_CAT:=bzcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
include $(INCLUDE_DIR)/package.mk
define Package/yafc
SECTION:=net
CATEGORY:=Network
DEPENDS:=+libpcap
DEPENDS:=+libncurses +libreadline
TITLE:=Yafc is yet another ftp client.
DESCRIPTION:=console-based FTP client
URL:=http://yacf.sourceforge.net
URL:=http://yacf.sourceforge.net/
endef
define Build/Configure
$(call Build/Configure/Default,--includedir=$(PKG_BUILD_DIR)/)
# uses GNU configure
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR)
endef
define Package/yafc/install
install -m0755 -d $(1)/usr/sbin
$(CP) $(PKG_BUILD_DIR)/src/$(PKG_NAME) $(1)/usr/sbin/
install -d -m0755 $(1)/usr/sbin
$(CP) $(PKG_BUILD_DIR)/src/yafc $(1)/usr/sbin/
endef
$(eval $(call BuildPackage,yafc))