From: Baruch Siach <baruch@tkos.co.il>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/3] Added new package 'mc' (Midnight Commander).
Date: Mon, 9 Mar 2015 06:46:28 +0200 [thread overview]
Message-ID: <20150309044627.GF2518@tarshish> (raw)
In-Reply-To: <1425850629-14725-1-git-send-email-mc5686@mclink.it>
Hi Mauro,
On Sun, Mar 08, 2015 at 10:37:07PM +0100, Mauro Condarelli wrote:
>
> Signed-off-by: Mauro Condarelli <mc5686@mclink.it>
> ---
> package/Config.in | 1 +
> package/mc/Config.in | 10 ++++++++++
> package/mc/mc.mk | 27 +++++++++++++++++++++++++++
A .hash file would be nice.
[...]
> diff --git a/package/mc/mc.mk b/package/mc/mc.mk
> new file mode 100644
> index 0000000..678e1f7
> --- /dev/null
> +++ b/package/mc/mc.mk
> @@ -0,0 +1,27 @@
> +################################################################################
> +#
> +# mc
> +#
> +################################################################################
> +
> +MC_VERSION_MAJOR = 4.8
> +MC_VERSION = $(MC_VERSION_MAJOR).13
No need to split the major version part if it is not used on its own.
> +MC_SOURCE = mc-$(MC_VERSION).tar.bz2
> +MC_SITE = http://ftp.midnight-commander.org
> +MC_INSTALL_STAGING = YES
Why is this needed?
> +MC_INSTALL_TARGET = YES
This is the default, please remove.
> +MC_CONF_OPTS = --disable-shared
This options is automatically handled by the autotools infrastructure. If this
package does not support static build it should depend on !BR2_STATIC_LIBS.
> +MC_DEPENDENCIES = libglib2 host-pkgconf
> +
> +# mc prefers slang, so use that if enabled, otherwise
> +# fallback to using ncurses.
> +# Either or both will be enabled, but we prefer slang.
> +ifeq ($(BR2_PACKAGE_SLANG),y)
> +MC_DEPENDENCIES += slang
> +MC_CONF_OPTS += --with-screen=slang
> +else
> +MC_DEPENDENCIES += ncurses
> +MC_CONF_OPTS += --with-screen=ncurses
> +endif
> +
> +$(eval $(autotools-package))
baruch
--
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
next prev parent reply other threads:[~2015-03-09 4:46 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-08 21:37 [Buildroot] [PATCH 1/3] Added new package 'mc' (Midnight Commander) Mauro Condarelli
2015-03-08 21:37 ` [Buildroot] [PATCH 2/3] Transformation of package 'at91bootstrap3' to KConfig style Mauro Condarelli
2015-04-06 10:20 ` Thomas Petazzoni
2015-04-06 13:32 ` Yann E. MORIN
2015-04-06 14:16 ` Arnout Vandecappelle
2015-04-06 14:18 ` Arnout Vandecappelle
2015-03-08 21:37 ` [Buildroot] [PATCH 3/3] Added support for PHP/SQLite3 (non PDO) Mauro Condarelli
2015-03-09 12:26 ` Gustavo Zacarias
2015-03-09 13:08 ` Thomas Petazzoni
2015-03-09 4:46 ` Baruch Siach [this message]
2015-03-09 8:33 ` [Buildroot] [PATCH 1/3] Added new package 'mc' (Midnight Commander) Thomas Petazzoni
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=20150309044627.GF2518@tarshish \
--to=baruch@tkos.co.il \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.