mirror of
https://git.busybox.net/buildroot.git
synced 2024-11-24 05:53:30 +08:00
dos2unix: new package
Signed-off-by: David Bachelart <david.bachelart@bbright.com> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
3ede457c5e
commit
dcd762c0f9
@ -1,6 +1,7 @@
|
||||
menu "Host utilities"
|
||||
|
||||
source "package/dfu-util/Config.in.host"
|
||||
source "package/dos2unix/Config.in.host"
|
||||
source "package/dosfstools/Config.in.host"
|
||||
source "package/e2fsprogs/Config.in.host"
|
||||
source "package/e2tools/Config.in.host"
|
||||
|
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://freshmeat.net/projects/dos2unix
|
22
package/dos2unix/dos2unix.mk
Normal file
22
package/dos2unix/dos2unix.mk
Normal file
@ -0,0 +1,22 @@
|
||||
################################################################################
|
||||
#
|
||||
# dos2unix
|
||||
#
|
||||
################################################################################
|
||||
|
||||
DOS2UNIX_VERSION = 7.0
|
||||
DOS2UNIX_SITE = http://waterlan.home.xs4all.nl/dos2unix/
|
||||
|
||||
DOS2UNIX_LICENSE = BSD-2c
|
||||
DOS2UNIX_LICENSE_FILES = COPYING.txt
|
||||
|
||||
define HOST_DOS2UNIX_BUILD_CMDS
|
||||
$(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D)
|
||||
endef
|
||||
|
||||
define HOST_DOS2UNIX_INSTALL_CMDS
|
||||
$(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D) \
|
||||
install DESTDIR=$(HOST_DIR)
|
||||
endef
|
||||
|
||||
$(eval $(host-generic-package))
|
Loading…
Reference in New Issue
Block a user