Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: "Ulrich Ölmann" <u.oelmann@pengutronix.de>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [meta-oe][PATCH] zstd: New recipe
Date: Fri, 19 Jul 2019 14:22:56 +0200	[thread overview]
Message-ID: <6rimry6wnz.fsf@pengutronix.de> (raw)
In-Reply-To: <20190719115703.20858-1-alex.kiernan@gmail.com>

Hi Alex,

On Fri, Jul 19 2019 at 13:57 +0200, Alex Kiernan <alex.kiernan@gmail.com> wrote:
> Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
> ---
>
>  meta-oe/recipes-extended/zstd/zstd_1.4.0.bb | 50 +++++++++++++++++++++
>  1 file changed, 50 insertions(+)
>  create mode 100644 meta-oe/recipes-extended/zstd/zstd_1.4.0.bb
>
> diff --git a/meta-oe/recipes-extended/zstd/zstd_1.4.0.bb b/meta-oe/recipes-extended/zstd/zstd_1.4.0.bb
> new file mode 100644
> index 000000000000..823f7b5a53f6
> --- /dev/null
> +++ b/meta-oe/recipes-extended/zstd/zstd_1.4.0.bb
> @@ -0,0 +1,50 @@
> +SUMMARY = "Zstandard - Fast real-time compression algorithm"
> +DESCRIPTION = "Zstandard is a fast lossless compression algorithm, targeting \
> +real-time compression scenarios at zlib-level and better compression ratios. \
> +It's backed by a very fast entropy stage, provided by Huff0 and FSE library."
> +HOMEPAGE = "http://www.zstd.net/"
> +SECTION = "console/utils"
> +
> +LICENSE = "BSD-3-Clause & GPLv2"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=c7f0b161edbe52f5f345a3d1311d0b32 \
> +                    file://COPYING;md5=39bba7d2cf0ba1036f2a6e2be52fe3f0"
> +
> +SRC_URI = "git://github.com/facebook/zstd.git;nobranch=1"
> +
> +SRCREV = "83b51e9f886be7c2a4d477b6e7bc6db831791d8d"
> +UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)"
> +
> +S = "${WORKDIR}/git"
> +
> +do_compile () {
> +    oe_runmake
> +    oe_runmake -C programs zstd-compress zstd-decompress zstd-frugal
> +}
> +
> +do_install () {
> +    oe_runmake install 'DESTDIR=${D}'
> +    install -d -m 0755 ${D}${bindir}
> +    install -m 0755 ${S}/programs/zstd-compress ${D}${bindir}
> +    install -m 0755 ${S}/programs/zstd-decompress ${D}${bindir}
> +    install -m 0755 ${S}/programs/zstd-frugal ${D}${bindir}
> +}
> +
> +PACKAGE_BEFORE_PN += " \
> +    ${PN}-compress \
> +    ${PN}-decompress \
> +    ${PN}-frugal \
> +"
> +
> +FILES_${PN}-compress = " \
> +    ${bindir}/zstd-compress \
> +"
> +
> +FILES_${PN}-decompress = " \
> +    ${bindir}/zstd-decompress \
> +"
> +
> +FILES_${PN}-frugal = " \
> +    ${bindir}/zstd-frugal \
> +"
> +
> +BBCLASSEXTEND = "native"

one of our customers needs zstd compression from the SDK as well, so
could you please enable the build of the nativesdk package, too:

  BBCLASSEXTEND = "native nativesdk"

Best regards
Ulrich
-- 
Pengutronix e.K.                           | Ulrich Ölmann               |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |


      reply	other threads:[~2019-07-19 12:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-19 11:57 [meta-oe][PATCH] zstd: New recipe Alex Kiernan
2019-07-19 12:22 ` Ulrich Ölmann [this message]

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=6rimry6wnz.fsf@pengutronix.de \
    --to=u.oelmann@pengutronix.de \
    --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