Add buildroot 2018-02
This commit is contained in:
12
buildroot/package/diffutils/Config.in
Normal file
12
buildroot/package/diffutils/Config.in
Normal file
@@ -0,0 +1,12 @@
|
||||
config BR2_PACKAGE_DIFFUTILS
|
||||
bool "diffutils"
|
||||
depends on BR2_USE_WCHAR
|
||||
depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
||||
help
|
||||
GNU diff. Compare files per line.
|
||||
|
||||
http://www.gnu.org/software/diffutils/diffutils.html
|
||||
|
||||
comment "diffutils needs a toolchain w/ wchar"
|
||||
depends on !BR2_USE_WCHAR
|
||||
depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
||||
2
buildroot/package/diffutils/diffutils.hash
Normal file
2
buildroot/package/diffutils/diffutils.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally calculated after checking pgp signature
|
||||
sha256 d621e8bdd4b573918c8145f7ae61817d1be9deb4c8d2328a65cea8e11d783bd6 diffutils-3.6.tar.xz
|
||||
24
buildroot/package/diffutils/diffutils.mk
Normal file
24
buildroot/package/diffutils/diffutils.mk
Normal file
@@ -0,0 +1,24 @@
|
||||
################################################################################
|
||||
#
|
||||
# diffutils
|
||||
#
|
||||
################################################################################
|
||||
|
||||
DIFFUTILS_VERSION = 3.6
|
||||
DIFFUTILS_SOURCE = diffutils-$(DIFFUTILS_VERSION).tar.xz
|
||||
DIFFUTILS_SITE = $(BR2_GNU_MIRROR)/diffutils
|
||||
DIFFUTILS_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES)
|
||||
DIFFUTILS_LICENSE = GPL-3.0+
|
||||
DIFFUTILS_LICENSE_FILES = COPYING
|
||||
|
||||
# Since glibc >= 2.26, don't try to use getopt_long replacement bundled
|
||||
# with diffutils. It will conflict with the one from glibc.
|
||||
ifeq ($(BR2_TOOLCHAIN_USES_GLIBC),y)
|
||||
DIFFUTILS_CONF_ENV += gl_cv_func_getopt_gnu=yes
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_BUSYBOX),y)
|
||||
DIFFUTILS_DEPENDENCIES += busybox
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user