All of lore.kernel.org
 help / color / mirror / Atom feed
From: Piotr Tworek <tworaz666@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [meta-oe] zsh: Add initial recipe for version 4.3.17.
Date: Tue, 06 Mar 2012 20:14:55 +0100	[thread overview]
Message-ID: <4F56622F.8040803@gmail.com> (raw)
In-Reply-To: <20120306015941.GC6841@sakrah.homelinux.org>

On 03/06/2012 02:59 AM, Khem Raj wrote:
> On (05/03/12 21:53), Peter Tworek wrote:
>> Run tested on netbook pro.
>>
>> Signed-off-by: Peter Tworek <tworaz666@gmail.com>
>> ---
>>  meta-oe/recipes-extended/zsh/zsh_4.3.17.bb |   51 ++++++++++++++++++++++++++++
>>  1 files changed, 51 insertions(+), 0 deletions(-)
>>  create mode 100644 meta-oe/recipes-extended/zsh/zsh_4.3.17.bb
>>
>> diff --git a/meta-oe/recipes-extended/zsh/zsh_4.3.17.bb b/meta-oe/recipes-extended/zsh/zsh_4.3.17.bb
>> new file mode 100644
>> index 0000000..9192f20
>> --- /dev/null
>> +++ b/meta-oe/recipes-extended/zsh/zsh_4.3.17.bb
>> @@ -0,0 +1,51 @@
>> +DESCRIPTION = "UNIX Shell similar to the Korn shell"
>> +HOMEPAGE="http://www.zsh.org"
>> +SECTION = "base/shell"
>> +
>> +LICENSE = "ZSH"
>> +LIC_FILES_CHKSUM = "file://LICENCE;md5=ad234d4b46db63491c4a9789da4fb341"
>> +
>> +DEPENDS = "ncurses libcap libpcre gdbm groff-native"
>> +
>> +SRC_URI = "ftp://ftp.zsh.org/pub/${P}.tar.bz2"
>> +SRC_URI[md5sum] = "8258967060b2654f30001a011946ac6a"
>> +SRC_URI[sha256sum] = "054e0452afd9c742c9f1489465175e1d4d7db50d88b602d132551d850cf7a704"
>> +
>> +FILES_${PN}-dbg += "\
>> +    ${libdir}/${PN}/${PV}/${PN}/.debug/*.so \
>> +    ${libdir}/${PN}/${PV}/${PN}/db/.debug/*.so \
>> +    ${libdir}/${PN}/${PV}/${PN}/net/.debug/*.so \
>> +    "
>> +
>> +inherit autotools
>> +
>> +EXTRA_OECONF = " \
>> +    --bindir=${base_bindir} \
>> +    --enable-etcdir=${sysconfdir} \
>> +    --enable-fndir=${datadir}/${PN}/${PV}/functions \
>> +    --enable-site-fndir=${datadir}/${PN}/site-functions \
>> +    --enable-function-subdirs \
>> +    --with-term-lib='ncursesw ncurses' \
>> +    --with-tcsetpgrp \
>> +    --enable-pcre \
>> +    --enable-cap \
>> +    --enable-multibyte \
>> +    --enable-gdbm \
>> +    --enable-dynamic \
>> +    zsh_cv_shared_environ=yes \
>> +    "
>> +
>> +do_configure () {
>> +    oe_runconf
>> +}
>> +
> why do you need to run oe_runconf explicitly.

Because I want to avoid invoking autotools, I just need to run
configure. I wrote this recipe some time ago, but from what I remember
zsh comes with some preloaded m4 macros that cause problems when default
autootols do_configure() step is executed. The preloaded configure
scripts works fine, even when cross-compiling. IMO it's better to use it
than to patch the package.

/ptw




  reply	other threads:[~2012-03-06 19:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-05 20:53 [meta-oe] zsh: Add initial recipe for version 4.3.17 Peter Tworek
2012-03-06  1:59 ` Khem Raj
2012-03-06 19:14   ` Piotr Tworek [this message]
2012-03-06 21:25     ` Khem Raj
2012-03-07  7:40       ` Piotr Tworek

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=4F56622F.8040803@gmail.com \
    --to=tworaz666@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 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.