1 #############################################################
5 #############################################################
7 AXEL_SOURCE
= axel-
$(AXEL_VERSION
).
tar.gz
8 AXEL_SITE
= https
://alioth.debian.org
/frs
/download.php
/3015
10 AXEL_LDFLAGS
= -lpthread
12 ifeq ($(BR2_NEEDS_GETTEXT_IF_LOCALE
),y
)
13 AXEL_DEPENDENCIES
+= gettext libintl
14 AXEL_LDFLAGS
+= -lintl
17 ifneq ($(BR2_ENABLE_LOCALE
),y
)
18 AXEL_DISABLE_I18N
=--i18n
=0
21 define AXEL_CONFIGURE_CMDS
26 $(AXEL_DISABLE_I18N
) \
30 define AXEL_BUILD_CMDS
31 $(MAKE
) CC
="$(TARGET_CC)" CFLAGS
="$(TARGET_CFLAGS)" \
32 LFLAGS
="$(TARGET_LDFLAGS) $(AXEL_LDFLAGS)" -C
$(@D
)
35 define AXEL_INSTALL_TARGET_CMDS
36 $(MAKE
) DESTDIR
=$(TARGET_DIR
) -C
$(@D
) install
39 define AXEL_UNINSTALL_TARGET_CMDS
40 $(MAKE
) DESTDIR
=$(TARGET_DIR
) -C
$(@D
) uninstall
43 define AXEL_CLEAN_CMDS
44 -$(MAKE
) -C
$(@D
) clean
47 $(eval
$(call GENTARGETS
))