Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [PATCH 1/3] Porting dash from openembedded and upgrade to 0.5.8
Date: Fri, 14 Nov 2014 13:00:13 +0100	[thread overview]
Message-ID: <20141114120013.GD2458@jama> (raw)
In-Reply-To: <1415956804-56497-2-git-send-email-biannm@cn.fujitsu.com>

[-- Attachment #1: Type: text/plain, Size: 1984 bytes --]

On Fri, Nov 14, 2014 at 05:20:02PM +0800, Bian Naimeng wrote:
> Signed-off-by: Bian Naimeng <biannm@cn.fujitsu.com>
> ---
>  meta-oe/recipes-extended/dash/dash_0.5.8.bb | 27 +++++++++++++++++++++++++++
>  1 file changed, 27 insertions(+)
>  create mode 100644 meta-oe/recipes-extended/dash/dash_0.5.8.bb
> 
> diff --git a/meta-oe/recipes-extended/dash/dash_0.5.8.bb b/meta-oe/recipes-extended/dash/dash_0.5.8.bb
> new file mode 100644
> index 0000000..3b9ea16
> --- /dev/null
> +++ b/meta-oe/recipes-extended/dash/dash_0.5.8.bb
> @@ -0,0 +1,27 @@
> +DESCRIPTION = "Small and fast POSIX-compliant shell"

This should be SUMMARY
This time I'll change it when cherry-picking.

> +HOMEPAGE = "http://gondor.apana.org.au/~herbert/dash/"
> +SECTION = "System Environment/Shells"
> +LICENSE = "BSD GPLv2+"
> +
> +inherit autotools update-alternatives
> +
> +SRC_URI = "http://gondor.apana.org.au/~herbert/dash/files/${PN}-${PV}.tar.gz"
> +
> +SRC_URI[md5sum] = "5c152209680dab3c319e8923f6c51378"
> +SRC_URI[sha256sum] = "c6db3a237747b02d20382a761397563d813b306c020ae28ce25a1c3915fac60f"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=b5262b4a1a1bff72b48e935531976d2e"
> +
> +EXTRA_OECONF += "--bindir=${base_bindir}"
> +
> +ALTERNATIVE_${PN} = "sh"
> +ALTERNATIVE_LINK_NAME[sh] = "${base_bindir}/sh"
> +ALTERNATIVE_TARGET[sh] = "${base_bindir}/dash"
> +ALTERNATIVE_PRIORITY = "10"
> +
> +pkg_postinst_${PN} () {
> +	grep -q "^${base_bindir}/dash$" $D${sysconfdir}/shells || echo ${base_bindir}/dash >> $D${sysconfdir}/shells
> +}
> +
> +pkg_postrm_${PN} () {
> +	printf "$(grep -v "^${base_bindir}/dash$" $D${sysconfdir}/shells)\n" > $D${sysconfdir}/shells
> +}
> -- 
> 1.9.1
> 
> -- 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]

  reply	other threads:[~2014-11-14 12:00 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-14  9:20 [PATCH 0/3] Porting some recipes from openembedded Bian Naimeng
2014-11-14  9:20 ` [PATCH 1/3] Porting dash from openembedded and upgrade to 0.5.8 Bian Naimeng
2014-11-14 12:00   ` Martin Jansa [this message]
2014-11-14  9:20 ` [PATCH 2/3] Porting anthy from openembedded and upgrade to 9100h Bian Naimeng
2014-11-14  9:20 ` [PATCH 3/3] Porting eggdbus from openembedded Bian Naimeng
2014-11-14 11:12   ` Burton, Ross
2014-11-14 12:01   ` Martin Jansa
2014-11-19 14:55     ` Martin Jansa
2014-11-20  0:29       ` Bian, Naimeng

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=20141114120013.GD2458@jama \
    --to=martin.jansa@gmail.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /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