Move all to deprecated folder.
This commit is contained in:
7
deprecated/firmware/buildroot/package/dos2unix/Config.in
Normal file
7
deprecated/firmware/buildroot/package/dos2unix/Config.in
Normal file
@@ -0,0 +1,7 @@
|
||||
config BR2_PACKAGE_DOS2UNIX
|
||||
select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
|
||||
bool "dos2unix"
|
||||
help
|
||||
dos2unix converts text file line endings between CRLF and LF
|
||||
|
||||
http://waterlan.home.xs4all.nl/dos2unix.html
|
||||
@@ -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
|
||||
@@ -0,0 +1,2 @@
|
||||
# Locally calculated after checking pgp signature
|
||||
sha256 f4d5df24d181c2efecf7631aab6e894489012396092cf206829f1f9a98556b94 dos2unix-7.3.1.tar.gz
|
||||
48
deprecated/firmware/buildroot/package/dos2unix/dos2unix.mk
Normal file
48
deprecated/firmware/buildroot/package/dos2unix/dos2unix.mk
Normal file
@@ -0,0 +1,48 @@
|
||||
################################################################################
|
||||
#
|
||||
# dos2unix
|
||||
#
|
||||
################################################################################
|
||||
|
||||
DOS2UNIX_VERSION = 7.3.1
|
||||
DOS2UNIX_SITE = http://waterlan.home.xs4all.nl/dos2unix
|
||||
DOS2UNIX_LICENSE = BSD-2c
|
||||
DOS2UNIX_LICENSE_FILES = COPYING.txt
|
||||
DOS2UNIX_DEPENDENCIES = $(if $(BR2_PACKAGE_BUSYBOX),busybox)
|
||||
HOST_DOS2UNIX_DEPENDENCIES =
|
||||
|
||||
ifeq ($(BR2_ENABLE_LOCALE),y)
|
||||
DOS2UNIX_DEPENDENCIES += host-gettext
|
||||
else
|
||||
DOS2UNIX_MAKE_OPTS += ENABLE_NLS=
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_NEEDS_GETTEXT_IF_LOCALE),y)
|
||||
DOS2UNIX_DEPENDENCIES += gettext
|
||||
DOS2UNIX_MAKE_OPTS += LIBS_EXTRA=-lintl
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_USE_WCHAR),)
|
||||
DOS2UNIX_MAKE_OPTS += UCS=
|
||||
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) DESTDIR=$(HOST_DIR) ENABLE_NLS= \
|
||||
install
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
$(eval $(host-generic-package))
|
||||
Reference in New Issue
Block a user