Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: [PATCH 8/8] xz: add xz package
Date: Wed, 10 Feb 2010 21:13:00 +0100	[thread overview]
Message-ID: <1265832780-19939-9-git-send-email-rep.dot.nop@gmail.com> (raw)
In-Reply-To: <1265832780-19939-8-git-send-email-rep.dot.nop@gmail.com>

xz is the lzma successor
tested with automake-1.11.1, autoconf-2.65

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
---
 recipes/xz/xz-native.inc            |    2 ++
 recipes/xz/xz-native_4.999.9beta.bb |    3 +++
 recipes/xz/xz-native_git.bb         |    7 +++++++
 recipes/xz/xz.inc                   |    8 ++++++++
 recipes/xz/xz_4.999.9beta.bb        |    8 ++++++++
 recipes/xz/xz_git.bb                |   22 ++++++++++++++++++++++
 6 files changed, 50 insertions(+), 0 deletions(-)
 create mode 100644 recipes/xz/xz-native.inc
 create mode 100644 recipes/xz/xz-native_4.999.9beta.bb
 create mode 100644 recipes/xz/xz-native_git.bb
 create mode 100644 recipes/xz/xz.inc
 create mode 100644 recipes/xz/xz_4.999.9beta.bb
 create mode 100644 recipes/xz/xz_git.bb

diff --git a/recipes/xz/xz-native.inc b/recipes/xz/xz-native.inc
new file mode 100644
index 0000000..bc5e9ff
--- /dev/null
+++ b/recipes/xz/xz-native.inc
@@ -0,0 +1,2 @@
+inherit native
+require xz_${PV}.bb
diff --git a/recipes/xz/xz-native_4.999.9beta.bb b/recipes/xz/xz-native_4.999.9beta.bb
new file mode 100644
index 0000000..c4f0da9
--- /dev/null
+++ b/recipes/xz/xz-native_4.999.9beta.bb
@@ -0,0 +1,3 @@
+PV = "4.999.9beta"
+
+require xz-native.inc
diff --git a/recipes/xz/xz-native_git.bb b/recipes/xz/xz-native_git.bb
new file mode 100644
index 0000000..006b9d7
--- /dev/null
+++ b/recipes/xz/xz-native_git.bb
@@ -0,0 +1,7 @@
+# XZ_BASE should be the latest released version of xz.
+# It can be set in the distro file.
+#XZ_BASE ?= "4.999.9"
+#SRCREV = "HEAD"
+#PV = "${XZ_BASE}+gitr${SRCREV}"
+PV = "git"
+require xz-native.inc
diff --git a/recipes/xz/xz.inc b/recipes/xz/xz.inc
new file mode 100644
index 0000000..f103e68
--- /dev/null
+++ b/recipes/xz/xz.inc
@@ -0,0 +1,8 @@
+DESCRIPTION = "XZ Utils is free general-purpose data compression software with high compression ratio.  XZ Utils are the successor to LZMA Utils."
+SECTION = "console/utils"
+LICENSE = "Public Domain"
+INC_PR = "r0"
+S ?= "${WORKDIR}/xz-${PV}"
+#FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/xz-${PV}"
+
+inherit autotools
diff --git a/recipes/xz/xz_4.999.9beta.bb b/recipes/xz/xz_4.999.9beta.bb
new file mode 100644
index 0000000..4f0adf9
--- /dev/null
+++ b/recipes/xz/xz_4.999.9beta.bb
@@ -0,0 +1,8 @@
+PV = "4.999.9beta"
+
+require xz.inc
+PR = "${INC_PR}.0"
+SRC_URI = "http://tukaani.org/xz/xz-${PV}.tar.bz2;name=xz"
+SRC_URI[xz.md5sum] = "cc4044fcc073b8bcf3164d1d0df82161"
+SRC_URI[xz.sha256sum] = "330312c4397608d8b7be362cc7edbfeafa6101614bc2164d816ea767656aa15c"
+EXTRA_OECONF = "--enable-shared"
diff --git a/recipes/xz/xz_git.bb b/recipes/xz/xz_git.bb
new file mode 100644
index 0000000..6c481ed
--- /dev/null
+++ b/recipes/xz/xz_git.bb
@@ -0,0 +1,22 @@
+# XZ_BASE should be the latest released version of xz.
+# It can be set in the distro file.
+#XZ_BASE ?= "4.999.9"
+#SRCREV = "HEAD"
+#PV = "${XZ_BASE}+gitr${SRCREV}"
+S = "${WORKDIR}/git"
+PV = "git"
+PR = "${INC_PR}.0"
+SRC_URI = "git://ctrl.tukaani.org/xz.git;branch=master;protocol=git"
+EXTRA_OECONF = "--enable-shared --disable-nls"
+DEFAULT_PREFERENCE = "-1"
+require xz.inc
+inherit gettext
+EXTRA_AUTORECONF = "--install"
+# XXX: Not sure what i managed to break, but this should not be needed!
+# | configure.ac:460: required file `build-aux/config.rpath' not found
+do_configure () {
+	install -D -m0755 ${STAGING_DATADIR}/gettext/config.rpath \
+		 ${S}/build-aux/config.rpath
+	autotools_do_configure
+}
+# just disabled nls for now
-- 
1.6.5




  reply	other threads:[~2010-02-10 20:13 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-10 20:12 [PATCH 0/8] minor trivia; [RFC] add xz Bernhard Reutner-Fischer
2010-02-10 20:12 ` [PATCH 1/8] hwclock.sh: some more !getopt_long fixes Bernhard Reutner-Fischer
2010-02-10 20:12   ` [PATCH 2/8] autoconf: set SRC_URI name Bernhard Reutner-Fischer
2010-02-10 20:12     ` [PATCH 3/8] gmp: " Bernhard Reutner-Fischer
2010-02-10 20:12       ` [PATCH 4/8] handle xz compressed files and tarballs Bernhard Reutner-Fischer
2010-02-10 20:12         ` [PATCH 5/8] busybox: use .tar.bz2 Bernhard Reutner-Fischer
2010-02-10 20:12           ` [PATCH 6/8] busybox: remove orphaned patch checksums Bernhard Reutner-Fischer
2010-02-10 20:12             ` [PATCH 7/8] autoconf: add 2.65 Bernhard Reutner-Fischer
2010-02-10 20:13               ` Bernhard Reutner-Fischer [this message]
2010-02-11 12:53                 ` [PATCH 8/8] xz: add xz package Phil Blundell
2010-02-13 12:51                   ` Bernhard Reutner-Fischer
2010-02-13 13:19                     ` Phil Blundell
2010-02-13 14:37                       ` Bernhard Reutner-Fischer
2010-02-13 18:46                         ` Phil Blundell
2010-02-13 16:14                     ` BBCLASSEXTEND canadian? Bernhard Reutner-Fischer
2010-02-25  0:49                       ` Tom Rini
2010-02-25  7:41                         ` Bernhard Reutner-Fischer
2010-02-25 10:40                           ` Richard Purdie
2010-02-25 10:39                         ` Richard Purdie
2010-02-25 17:21                           ` Tom Rini
2010-02-25 18:18                             ` C Michael Sundius
2010-02-25 20:16                             ` Richard Purdie
2010-05-28  8:37                               ` Bernhard Reutner-Fischer
2010-06-01 18:41                                 ` Tom Rini
2010-02-11 14:06                 ` [PATCH 8/8] xz: add xz package Koen Kooi
2010-02-13 12:55                   ` Bernhard Reutner-Fischer
2010-02-13 13:11                     ` Bernhard Reutner-Fischer
2010-03-04 14:32               ` [PATCH 7/8] autoconf: add 2.65 Marcin Juszkiewicz
2010-02-14 21:33             ` [PATCH 6/8] busybox: remove orphaned patch checksums Phil Blundell
2010-02-14 21:32           ` [PATCH 5/8] busybox: use .tar.bz2 Phil Blundell
2010-02-11 12:27         ` [PATCH 4/8] handle xz compressed files and tarballs Phil Blundell
2010-02-14 20:16       ` [PATCH 3/8] gmp: set SRC_URI name Phil Blundell
2010-02-14 21:35     ` [PATCH 2/8] autoconf: " Phil Blundell
2010-02-14 21:34   ` [PATCH 1/8] hwclock.sh: some more !getopt_long fixes Phil Blundell

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=1265832780-19939-9-git-send-email-rep.dot.nop@gmail.com \
    --to=rep.dot.nop@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