xz: add recipe and use BBCLASSEXTEND for native version.
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Sat, 13 Feb 2010 02:51:46 +0000 (02:51 +0000)
committerKhem Raj <raj.khem@gmail.com>
Sat, 5 Jun 2010 19:55:47 +0000 (12:55 -0700)
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
recipes/xz/xz.inc [new file with mode: 0644]
recipes/xz/xz_4.999.9beta.bb [new file with mode: 0644]
recipes/xz/xz_git.bb [new file with mode: 0644]

diff --git a/recipes/xz/xz.inc b/recipes/xz/xz.inc
new file mode 100644 (file)
index 0000000..cc4f966
--- /dev/null
@@ -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 (file)
index 0000000..8733023
--- /dev/null
@@ -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 (file)
index 0000000..8950a08
--- /dev/null
@@ -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"