mesa3d-headers: remove installation of OpenVG headers
[buildroot-gz.git] / package / dos2unix / dos2unix.mk
blobdf2094e4a564e44770c1fcd30344f06543d0d56e
1 ################################################################################
3 # dos2unix
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
15 else
16 DOS2UNIX_MAKE_OPTS += ENABLE_NLS=
17 endif
19 ifeq ($(BR2_NEEDS_GETTEXT_IF_LOCALE),y)
20 DOS2UNIX_DEPENDENCIES += gettext
21 DOS2UNIX_MAKE_OPTS += LIBS_EXTRA=-lintl
22 endif
24 ifeq ($(BR2_USE_WCHAR),)
25 DOS2UNIX_MAKE_OPTS += UCS=
26 endif
28 define DOS2UNIX_BUILD_CMDS
29 $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) $(DOS2UNIX_MAKE_OPTS)
30 endef
32 define DOS2UNIX_INSTALL_TARGET_CMDS
33 $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) \
34 $(DOS2UNIX_MAKE_OPTS) install
35 endef
37 define HOST_DOS2UNIX_BUILD_CMDS
38 $(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D) ENABLE_NLS=
39 endef
41 define HOST_DOS2UNIX_INSTALL_CMDS
42 $(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D) DESTDIR=$(HOST_DIR) ENABLE_NLS= \
43 install
44 endef
46 $(eval $(generic-package))
47 $(eval $(host-generic-package))