1 ################################################################################
5 ################################################################################
7 DOS2UNIX_VERSION
= 7.3.4
8 DOS2UNIX_SITE
= http
://waterlan.home.xs4all.nl
/dos2unix
9 DOS2UNIX_LICENSE
= BSD-2c
10 DOS2UNIX_LICENSE_FILES
= COPYING.txt
11 DOS2UNIX_DEPENDENCIES
= $(if
$(BR2_PACKAGE_BUSYBOX
),busybox
)
13 ifeq ($(BR2_ENABLE_LOCALE
),y
)
14 DOS2UNIX_DEPENDENCIES
+= host-gettext
16 DOS2UNIX_MAKE_OPTS
+= ENABLE_NLS
=
19 ifeq ($(BR2_NEEDS_GETTEXT_IF_LOCALE
),y
)
20 DOS2UNIX_DEPENDENCIES
+= gettext
21 DOS2UNIX_MAKE_OPTS
+= LIBS_EXTRA
=-lintl
24 ifeq ($(BR2_USE_WCHAR
),)
25 DOS2UNIX_MAKE_OPTS
+= UCS
=
28 define DOS2UNIX_BUILD_CMDS
29 $(TARGET_CONFIGURE_OPTS
) $(MAKE
) -C
$(@D
) $(DOS2UNIX_MAKE_OPTS
)
32 define DOS2UNIX_INSTALL_TARGET_CMDS
33 $(TARGET_CONFIGURE_OPTS
) $(MAKE
) -C
$(@D
) DESTDIR
=$(TARGET_DIR
) \
34 $(DOS2UNIX_MAKE_OPTS
) install
37 define HOST_DOS2UNIX_BUILD_CMDS
38 $(HOST_CONFIGURE_OPTS
) $(MAKE
) -C
$(@D
) ENABLE_NLS
=
41 define HOST_DOS2UNIX_INSTALL_CMDS
42 $(HOST_CONFIGURE_OPTS
) $(MAKE
) -C
$(@D
) DESTDIR
=$(HOST_DIR
) ENABLE_NLS
= \
46 $(eval
$(generic-package
))
47 $(eval
$(host-generic-package
))