harfbuzz: security bump to version 1.4.4
[buildroot-gz.git] / package / axel / axel.mk
blob6cf0fa8d752feb8ac451102b2e5ce86a600396af
1 ################################################################################
3 # axel
5 ################################################################################
7 AXEL_VERSION = 2.4
8 AXEL_SITE = http://sources.buildroot.net
9 AXEL_LICENSE = GPLv2+
10 AXEL_LICENSE_FILES = COPYING
12 ifeq ($(BR2_NEEDS_GETTEXT_IF_LOCALE),y)
13 AXEL_DEPENDENCIES += gettext
14 AXEL_LDFLAGS += -lintl
15 endif
17 # -lintl may use symbols from -lpthread
18 AXEL_LDFLAGS += -lpthread
20 ifneq ($(BR2_ENABLE_LOCALE),y)
21 AXEL_DISABLE_I18N = --i18n=0
22 endif
24 define AXEL_CONFIGURE_CMDS
25 (cd $(@D); \
26 ./configure \
27 --prefix=/usr \
28 --debug=1 \
29 $(AXEL_DISABLE_I18N) \
31 endef
33 define AXEL_BUILD_CMDS
34 $(TARGET_MAKE_ENV) $(MAKE) CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" \
35 LFLAGS="$(TARGET_LDFLAGS) $(AXEL_LDFLAGS)" -C $(@D)
36 endef
38 define AXEL_INSTALL_TARGET_CMDS
39 $(TARGET_MAKE_ENV) $(MAKE) DESTDIR=$(TARGET_DIR) -C $(@D) install
40 endef
42 $(eval $(generic-package))