From: Nigel Kukard <nkukard@lbsd.net>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot/package: axel
Date: Thu, 17 Apr 2008 05:11:46 +0000 [thread overview]
Message-ID: <1208409106.17959.28.camel@nigel-x60> (raw)
In-Reply-To: <20080417045258.41B6D3C61D@busybox.net>
> Log:
> Added package for axel download accelerator
>
> Added: trunk/buildroot/package/axel/axel.mk
> ===================================================================
> --- trunk/buildroot/package/axel/axel.mk (rev 0)
> +++ trunk/buildroot/package/axel/axel.mk 2008-04-17 04:52:57 UTC (rev 21752)
> @@ -0,0 +1,55 @@
> +#############################################################
> +#
> +# axel
> +#
> +#############################################################
> +AXEL_VERSION:=1.1
> +AXEL_SOURCE:=axel-$(AXEL_VERSION).tar.gz
> +AXEL_SITE:=http://alioth.debian.org/frs/download.php/2287
> +AXEL_CAT:=$(ZCAT)
> +AXEL_DIR:=$(BUILD_DIR)/axel-$(AXEL_VERSION)
> +AXEL_BINARY:=axel
> +AXEL_TARGET_BINARY:=usr/bin/axel
> +
> +$(DL_DIR)/$(AXEL_SOURCE):
> + $(WGET) -P $(DL_DIR) $(AXEL_SITE)/$(AXEL_SOURCE)
> +
> +axel-source: $(DL_DIR)/$(AXEL_SOURCE)
> +
> +$(AXEL_DIR)/.unpacked: $(DL_DIR)/$(AXEL_SOURCE)
> + $(AXEL_CAT) $(DL_DIR)/$(AXEL_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
> + #toolchain/patch-kernel.sh $(AXEL_DIR) package/axel axel\*.patch
> + touch $@
> +
> +$(AXEL_DIR)/Makefile.settings: $(AXEL_DIR)/.unpacked
> + (cd $(AXEL_DIR); \
> + ./configure --enable-i18n=0 --prefix=/usr \
> + )
> + touch $@
> +
> +$(AXEL_DIR)/$(AXEL_BINARY): $(AXEL_DIR)/Makefile.settings
> + $(MAKE) CC="$(TARGET_CC)" STRIP="$(TARGET_STRIP)" -C $(AXEL_DIR)
> +
> +$(TARGET_DIR)/$(AXEL_TARGET_BINARY): $(AXEL_DIR)/$(AXEL_BINARY)
> + $(MAKE) DESTDIR=$(TARGET_DIR) -C $(AXEL_DIR) install-bin
> +ifeq ($(BR2_HAVE_MANPAGES),y)
> + $(MAKE) DESTDIR=$(TARGET_DIR) -C $(AXEL_DIR) install-man
> +endif
> +
> +axel: uclibc $(TARGET_DIR)/$(AXEL_TARGET_BINARY)
> +
> +axel-clean:
> + $(MAKE) DESTDIR=$(TARGET_DIR) -C $(AXEL_DIR) uninstall
> + -$(MAKE) -C $(AXEL_DIR) clean
> +
> +axel-dirclean:
> + rm -rf $(AXEL_DIR)
> +
> +#############################################################
> +#
> +# Toplevel Makefile options
> +#
> +#############################################################
> +ifeq ($(strip $(BR2_PACKAGE_AXEL)),y)
> +TARGETS+=axel
> +endif
Can you not use autotools?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://busybox.net/lists/buildroot/attachments/20080417/b2987528/attachment.pgp
next prev parent reply other threads:[~2008-04-17 5:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-17 4:52 [Buildroot] svn commit: trunk/buildroot/package: axel hamish at uclibc.org
2008-04-17 5:11 ` Nigel Kukard [this message]
2008-04-18 1:45 ` Hamish Moffatt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1208409106.17959.28.camel@nigel-x60 \
--to=nkukard@lbsd.net \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox