[Buildroot] [PATCH 1/1] dos2unix: new package

Thomas De Schampheleire patrickdepinguin at gmail.com
Wed Sep 3 09:38:25 UTC 2014


On Wed, Sep 3, 2014 at 11:23 AM, Baruch Siach <baruch at tkos.co.il> wrote:
> Hi David,
>
> On Wed, Sep 03, 2014 at 11:12:57AM +0200, David Bachelart wrote:
>
> [snip]
>
>> diff --git a/package/dos2unix/dos2unix.mk b/package/dos2unix/dos2unix.mk
>> new file mode 100644
>> index 0000000..a976ffe
>> --- /dev/null
>> +++ b/package/dos2unix/dos2unix.mk
>> @@ -0,0 +1,40 @@
>> +################################################################################
>> +#
>> +# dos2unix
>> +#
>> +################################################################################
>> +
>> +DOS2UNIX_VERSION = 6.0.6
>> +DOS2UNIX_SITE = http://waterlan.home.xs4all.nl/dos2unix/
>> +
>> +DOS2UNIX_LICENSE = BSD-2c
>> +DOS2UNIX_LICENSE_FILES = COPYING.txt
>
> dos2unix is also provided by busybox. You need to list busybox in
> DOS2UNIX_DEPENDENCIES to make sure dos2unix builds (and installs) after
> busybox, overriding the busybox applet.
>

Additionally, a check on BUSYBOX_SHOW_OTHERS should be added somewhere.

Also, one could also argue whether it makes sense to have a separate
dos2unix target package, as I expect the tool to be so simple that
busybox probably does the same thing as the separate tool.

Best regards,
Thomas


More information about the buildroot mailing list