X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=cirros-testvm%2Fsrc-cirros%2Fbuildroot-2015.05%2Fpackage%2Faxel%2Faxel.mk;fp=cirros-testvm%2Fsrc-cirros%2Fbuildroot-2015.05%2Fpackage%2Faxel%2Faxel.mk;h=6328d997e1375ca5b39b8ef3017584ad4e206a0d;hb=b0a0f15dfaa205161a7fcb20cf1b8cd4948c2ef3;hp=0000000000000000000000000000000000000000;hpb=c6ac3cd55ee2da956195eee393b0882105dfad4e;p=packages%2Ftrusty%2Fcirros-testvm.git diff --git a/cirros-testvm/src-cirros/buildroot-2015.05/package/axel/axel.mk b/cirros-testvm/src-cirros/buildroot-2015.05/package/axel/axel.mk new file mode 100644 index 0000000..6328d99 --- /dev/null +++ b/cirros-testvm/src-cirros/buildroot-2015.05/package/axel/axel.mk @@ -0,0 +1,41 @@ +################################################################################ +# +# axel +# +################################################################################ + +AXEL_VERSION = 2.4 +AXEL_SITE = http://sources.buildroot.net +AXEL_LICENSE = GPLv2+ +AXEL_LICENSE_FILES = COPYING + +AXEL_LDFLAGS = -lpthread + +ifeq ($(BR2_NEEDS_GETTEXT_IF_LOCALE),y) +AXEL_DEPENDENCIES += gettext +AXEL_LDFLAGS += -lintl +endif + +ifneq ($(BR2_ENABLE_LOCALE),y) +AXEL_DISABLE_I18N = --i18n=0 +endif + +define AXEL_CONFIGURE_CMDS + (cd $(@D); \ + ./configure \ + --prefix=/usr \ + --debug=1 \ + $(AXEL_DISABLE_I18N) \ + ) +endef + +define AXEL_BUILD_CMDS + $(MAKE) CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" \ + LFLAGS="$(TARGET_LDFLAGS) $(AXEL_LDFLAGS)" -C $(@D) +endef + +define AXEL_INSTALL_TARGET_CMDS + $(MAKE) DESTDIR=$(TARGET_DIR) -C $(@D) install +endef + +$(eval $(generic-package))