mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@db180c0
This commit is contained in:
7
package/dos2unix/Config.in
Normal file
7
package/dos2unix/Config.in
Normal file
@@ -0,0 +1,7 @@
|
||||
config BR2_PACKAGE_DOS2UNIX
|
||||
bool "dos2unix"
|
||||
depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
||||
help
|
||||
dos2unix converts text file line endings between CRLF and LF
|
||||
|
||||
http://waterlan.home.xs4all.nl/dos2unix.html
|
||||
6
package/dos2unix/Config.in.host
Normal file
6
package/dos2unix/Config.in.host
Normal file
@@ -0,0 +1,6 @@
|
||||
config BR2_PACKAGE_HOST_DOS2UNIX
|
||||
bool "host dos2unix"
|
||||
help
|
||||
dos2unix converts text file line endings between CRLF and LF
|
||||
|
||||
http://waterlan.home.xs4all.nl/dos2unix.html
|
||||
4
package/dos2unix/dos2unix.hash
Normal file
4
package/dos2unix/dos2unix.hash
Normal file
@@ -0,0 +1,4 @@
|
||||
# Locally calculated after checking pgp signature
|
||||
# https://waterlan.home.xs4all.nl/dos2unix/dos2unix-7.4.0.tar.gz.asc
|
||||
sha256 bac765abdbd95cdd87a71989d4382c32cf3cbfeee2153f0086cb9cf18261048a dos2unix-7.4.0.tar.gz
|
||||
sha256 49224e841621b52a72aa38d8ac895a396cd3fa1395190bdfc9252378001eb3c0 COPYING.txt
|
||||
48
package/dos2unix/dos2unix.mk
Normal file
48
package/dos2unix/dos2unix.mk
Normal file
@@ -0,0 +1,48 @@
|
||||
################################################################################
|
||||
#
|
||||
# dos2unix
|
||||
#
|
||||
################################################################################
|
||||
|
||||
DOS2UNIX_VERSION = 7.4.0
|
||||
DOS2UNIX_SITE = http://waterlan.home.xs4all.nl/dos2unix
|
||||
DOS2UNIX_LICENSE = BSD-2-Clause
|
||||
DOS2UNIX_LICENSE_FILES = COPYING.txt
|
||||
DOS2UNIX_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES)
|
||||
|
||||
ifeq ($(BR2_SYSTEM_ENABLE_NLS),y)
|
||||
DOS2UNIX_MAKE_OPTS += ENABLE_NLS=1
|
||||
DOS2UNIX_MAKE_OPTS += LIBS_EXTRA=$(TARGET_NLS_LIBS)
|
||||
else
|
||||
# Should be defined to empty to disable NLS support
|
||||
DOS2UNIX_MAKE_OPTS += ENABLE_NLS=
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_USE_WCHAR),)
|
||||
DOS2UNIX_MAKE_OPTS += UCS=
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_STATIC_LIBS),y)
|
||||
DOS2UNIX_MAKE_OPTS += LDFLAGS_USER=-static
|
||||
endif
|
||||
|
||||
define DOS2UNIX_BUILD_CMDS
|
||||
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) $(DOS2UNIX_MAKE_OPTS)
|
||||
endef
|
||||
|
||||
define DOS2UNIX_INSTALL_TARGET_CMDS
|
||||
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) \
|
||||
$(DOS2UNIX_MAKE_OPTS) install
|
||||
endef
|
||||
|
||||
define HOST_DOS2UNIX_BUILD_CMDS
|
||||
$(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D) ENABLE_NLS=
|
||||
endef
|
||||
|
||||
define HOST_DOS2UNIX_INSTALL_CMDS
|
||||
$(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D) prefix=$(HOST_DIR) ENABLE_NLS= \
|
||||
install
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
$(eval $(host-generic-package))
|
||||
Reference in New Issue
Block a user