adds diffutils
git-svn-id: svn://svn.openwrt.org/openwrt/packages@11431 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
ab063f17b5
commit
a4b7ddee3f
@ -18,7 +18,7 @@ define Package/build-essential
|
|||||||
SECTION:=devel
|
SECTION:=devel
|
||||||
CATEGORY:=Development
|
CATEGORY:=Development
|
||||||
TITLE:=Build essentials
|
TITLE:=Build essentials
|
||||||
DEPENDS=+gcc +make +binutils +patch @BUILD_DEVELOPER_SYSTEM
|
DEPENDS=+gcc +make +binutils +patch +diffutils @BUILD_DEVELOPER_SYSTEM
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
|
43
devel/diffutils/Makefile
Normal file
43
devel/diffutils/Makefile
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
#
|
||||||
|
# Copyright (C) 2008 OpenWrt.org
|
||||||
|
#
|
||||||
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
|
# See /LICENSE for more information.
|
||||||
|
#
|
||||||
|
|
||||||
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
|
PKG_NAME:=diffutils
|
||||||
|
PKG_VERSION:=2.8.1
|
||||||
|
PKG_RELEASE:=1
|
||||||
|
PKG_MD5SUM:=71f9c5ae19b60608f6c7f162da86a428
|
||||||
|
PKG_SOURCE_URL:=http://ftp.gnu.org/gnu/diffutils/
|
||||||
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
|
|
||||||
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
|
define Package/diffutils
|
||||||
|
SECTION:=devel
|
||||||
|
CATEGORY:=Development
|
||||||
|
TITLE:=diffutils
|
||||||
|
URL:=http://www.gnu.org/
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Package/diffutils/description
|
||||||
|
The Diffutils package contains programs that show the differences between files or directories.
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Build/Configure
|
||||||
|
$(call Build/Configure/Default,ac_cv_func_mempcpy=n)
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Build/Compile
|
||||||
|
$(MAKE_VARS) $(MAKE) $(MAKE_ARGS) -C $(PKG_BUILD_DIR) all
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Package/diffutils/install
|
||||||
|
$(INSTALL_DIR) $(1)/usr/bin
|
||||||
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/{sdiff,diff3,diff,cmp} $(1)/usr/bin/
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call BuildPackage,diffutils))
|
@ -32,7 +32,7 @@ define Build/Configure
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(MAKE_VARS) $(MAKE) $(MAKE_ARGS) DESTDIR=$(PKG_INSTALL_DIR) exec_prefix=$(PKG_INSTALL_DIR) -C $(PKG_BUILD_DIR) all install
|
$(MAKE_VARS) $(MAKE) $(MAKE_ARGS) exec_prefix=$(PKG_INSTALL_DIR) -C $(PKG_BUILD_DIR) all install
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/patch/install
|
define Package/patch/install
|
||||||
|
Loading…
x
Reference in New Issue
Block a user