mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-01 21:23:51 -09:00
The old upstream page [1] is being deprecated. It currently shows: """ This page will go offline on 1 July 2026. Go to the new page at https://waterlander.net/dos2unix/ """ This commit updates the homepage, download site and hash file URL to the new upstream location [2]. [1] http://waterlan.home.xs4all.nl/dos2unix.html [2] https://waterlander.net/dos2unix/ Signed-off-by: Shubham Chakraborty <chakrabortyshubham66@gmail.com> [Julien: add info in commit log] Signed-off-by: Julien Olivain <ju.o@free.fr>
49 lines
1.2 KiB
Makefile
49 lines
1.2 KiB
Makefile
################################################################################
|
|
#
|
|
# dos2unix
|
|
#
|
|
################################################################################
|
|
|
|
DOS2UNIX_VERSION = 7.5.5
|
|
DOS2UNIX_SITE = https://waterlander.net/dos2unix/files
|
|
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))
|