summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2005-07-19 10:39:52 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-07-19 10:39:52 +0000
commit11037fd3fcf2b4ca2e866048748aa4b0e18a7f26 (patch)
tree85ed26cd49085c28de957940e643b18fef1ef0c3 /packages
parent508a8edce9e6ad6782d3f5161171c10879957a3e (diff)
parentc2d1bcfad1cff2741d507bf276702ee145c9ee31 (diff)
merge of 4083811b8032d3a372f6aed8c3f16991920880f6
and d9ca92efbd74f689ba06fe1757077c9e5dd12f0c
Diffstat (limited to 'packages')
-rw-r--r--packages/lzma/lzma-native_4.17.bb15
1 files changed, 9 insertions, 6 deletions
diff --git a/packages/lzma/lzma-native_4.17.bb b/packages/lzma/lzma-native_4.17.bb
index a47cd1d8da..174ed700e4 100644
--- a/packages/lzma/lzma-native_4.17.bb
+++ b/packages/lzma/lzma-native_4.17.bb
@@ -1,19 +1,22 @@
DESCRIPTION = "LZMA is a general compression method. LZMA provides high compression ratio and very fast decompression."
HOMEPAGE = "http://www.7-zip.org/"
LICENSE = "LGPL"
+PR = "r1"
SRC_URI = "http://www.7-zip.org/dl/lzma417.tar.bz2 \
- file://lzma-406-zlib-stream.patch;patch=1"
-S = "${WORKDIR}"
+ file://lzma-406-zlib-stream.patch;patch=1;pnum=2"
+S = "${WORKDIR}/SRC"
inherit native
+CFLAGS += "-c -I${S}"
+
do_compile() {
- make -C ${S}/SRC/7zip/Compress/LZMA_Alone
- make -C ${S}/SRC/7zip/Compress/LZMA_Lib
+ oe_runmake -C 7zip/Compress/LZMA_Alone
+ oe_runmake -C 7zip/Compress/LZMA_Lib
}
do_stage () {
- install -m 0755 ${S}/SRC/7zip/Compress/LZMA_Alone/lzma ${STAGING_BINDIR}
- oe_libinstall -a ${S}/SRC/7zip/Compress/LZMA_Lib/liblzma ${STAGING_LIBDIR}
+ install -m 0755 7zip/Compress/LZMA_Alone/lzma ${STAGING_BINDIR}
+ oe_libinstall -a 7zip/Compress/LZMA_Lib/liblzma ${STAGING_LIBDIR}
}