1 ################################################################################
5 ################################################################################
7 DOS2UNIX_VERSION
= 7.3.1
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
)
12 HOST_DOS2UNIX_DEPENDENCIES
=
14 ifeq ($(BR2_ENABLE_LOCALE
),y
)
15 DOS2UNIX_DEPENDENCIES
+= host-gettext
17 DOS2UNIX_MAKE_OPTS
+= ENABLE_NLS
=
20 ifeq ($(BR2_NEEDS_GETTEXT_IF_LOCALE
),y
)
21 DOS2UNIX_DEPENDENCIES
+= gettext
22 DOS2UNIX_MAKE_OPTS
+= LIBS_EXTRA
=-lintl
25 ifeq ($(BR2_USE_WCHAR
),)
26 DOS2UNIX_MAKE_OPTS
+= UCS
=
29 define DOS2UNIX_BUILD_CMDS
30 $(TARGET_CONFIGURE_OPTS
) $(MAKE
) -C
$(@D
) $(DOS2UNIX_MAKE_OPTS
)
33 define DOS2UNIX_INSTALL_TARGET_CMDS
34 $(TARGET_CONFIGURE_OPTS
) $(MAKE
) -C
$(@D
) DESTDIR
=$(TARGET_DIR
) \
35 $(DOS2UNIX_MAKE_OPTS
) install
38 define HOST_DOS2UNIX_BUILD_CMDS
39 $(HOST_CONFIGURE_OPTS
) $(MAKE
) -C
$(@D
) ENABLE_NLS
=
42 define HOST_DOS2UNIX_INSTALL_CMDS
43 $(HOST_CONFIGURE_OPTS
) $(MAKE
) -C
$(@D
) DESTDIR
=$(HOST_DIR
) ENABLE_NLS
= \
47 $(eval
$(generic-package
))
48 $(eval
$(host-generic-package
))