[oe-commits] Bernhard Reutner-Fischer : xz: add recipe and use BBCLASSEXTEND for native version.

git version control git at git.openembedded.org
Sat Jun 5 19:57:56 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 30d12388795bff1d20c47e1229a7efeb4ea25c2f
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=30d12388795bff1d20c47e1229a7efeb4ea25c2f

Author: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
Date:   Sat Feb 13 02:51:46 2010 +0000

xz: add recipe and use BBCLASSEXTEND for native version.

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
Signed-off-by: Khem Raj <raj.khem at gmail.com>

---

 recipes/xz/xz.inc            |    9 +++++++++
 recipes/xz/xz_4.999.9beta.bb |    5 +++++
 recipes/xz/xz_git.bb         |    6 ++++++
 3 files changed, 20 insertions(+), 0 deletions(-)

diff --git a/recipes/xz/xz.inc b/recipes/xz/xz.inc
new file mode 100644
index 0000000..cc4f966
--- /dev/null
+++ b/recipes/xz/xz.inc
@@ -0,0 +1,9 @@
+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}"
+EXTRA_OECONF = "--enable-shared"
+BBCLASSEXTEND = "native"
+
+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..8733023
--- /dev/null
+++ b/recipes/xz/xz_4.999.9beta.bb
@@ -0,0 +1,5 @@
+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"
diff --git a/recipes/xz/xz_git.bb b/recipes/xz/xz_git.bb
new file mode 100644
index 0000000..8950a08
--- /dev/null
+++ b/recipes/xz/xz_git.bb
@@ -0,0 +1,6 @@
+S = "${WORKDIR}/git"
+require xz.inc
+PV = "git"
+PR = "${INC_PR}.0"
+SRC_URI = "git://ctrl.tukaani.org/xz.git;branch=master;protocol=git"
+DEFAULT_PREFERENCE = "-1"





More information about the Openembedded-commits mailing list