summaryrefslogtreecommitdiffstats
path: root/package/dos2unix/Config.in
diff options
context:
space:
mode:
authorJames Knight <james.knight@rockwellcollins.com>2015-09-03 07:10:50 +0300
committerPeter Korsgaard <peter@korsgaard.com>2015-09-04 16:51:49 +0200
commit9669819efdf885fa279f3e99c03bbb4c311de068 (patch)
treee67fe82cc61561911864500f55f844d2d3f53bc4 /package/dos2unix/Config.in
parent0610de14901e5ad0f6c9b4db488477db47d2ff57 (diff)
downloadbuildroot-9669819efdf885fa279f3e99c03bbb4c311de068.tar.gz
buildroot-9669819efdf885fa279f3e99c03bbb4c311de068.zip
dos2unix: add target support
Allow the `dos2unix` utility to be built and installed on the target system. [baruch: properly handle target gettext] Signed-off-by: James Knight <james.knight@rockwellcollins.com> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/dos2unix/Config.in')
-rw-r--r--package/dos2unix/Config.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/dos2unix/Config.in b/package/dos2unix/Config.in
new file mode 100644
index 0000000000..fdcd070050
--- /dev/null
+++ b/package/dos2unix/Config.in
@@ -0,0 +1,11 @@
+config BR2_PACKAGE_DOS2UNIX
+ select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
+ depends on BR2_USE_WCHAR # gettext
+ bool "dos2unix"
+ help
+ dos2unix converts text file line endings between CRLF and LF
+
+ http://freshmeat.net/projects/dos2unix
+
+comment "dos2unix needs a toolchain w/ wchar"
+ depends on !BR2_USE_WCHAR
OpenPOWER on IntegriCloud