1 ################################################################################
5 ################################################################################
8 AXEL_SITE
= http
://sources.buildroot.net
10 AXEL_LICENSE_FILES
= COPYING
12 ifeq ($(BR2_NEEDS_GETTEXT_IF_LOCALE
),y
)
13 AXEL_DEPENDENCIES
+= gettext
14 AXEL_LDFLAGS
+= -lintl
17 # -lintl may use symbols from -lpthread
18 AXEL_LDFLAGS
+= -lpthread
20 ifneq ($(BR2_ENABLE_LOCALE
),y
)
21 AXEL_DISABLE_I18N
= --i18n
=0
24 define AXEL_CONFIGURE_CMDS
29 $(AXEL_DISABLE_I18N
) \
33 define AXEL_BUILD_CMDS
34 $(TARGET_MAKE_ENV
) $(MAKE
) CC
="$(TARGET_CC)" CFLAGS
="$(TARGET_CFLAGS)" \
35 LFLAGS
="$(TARGET_LDFLAGS) $(AXEL_LDFLAGS)" -C
$(@D
)
38 define AXEL_INSTALL_TARGET_CMDS
39 $(TARGET_MAKE_ENV
) $(MAKE
) DESTDIR
=$(TARGET_DIR
) -C
$(@D
) install
42 $(eval
$(generic-package
))