|
|
@@ -37,11 +37,12 @@ Class: EVAL
|
|
|
Group: Compression
|
|
|
License: LGPL
|
|
|
Version: %{V_opkg}
|
|
|
-Release: 20080425
|
|
|
+Release: 20080426
|
|
|
|
|
|
# list of sources
|
|
|
Source0: http://tukaani.org/lzma/lzma-%{V_lzmautils}.tar.gz
|
|
|
Source1: http://switch.dl.sourceforge.net/sevenzip/7z%{V_sdk}.tar.bz2
|
|
|
+Patch0: lzma.patch
|
|
|
|
|
|
# build information
|
|
|
Prefix: %{l_prefix}
|
|
|
@@ -77,14 +78,13 @@ AutoReqProv: no
|
|
|
%prep
|
|
|
%setup -q -c
|
|
|
%setup -q -c -T -D -a 1
|
|
|
+ %patch -p0 -d lzma-%{V_lzmautils}
|
|
|
|
|
|
%build
|
|
|
# build LZMA from LZMA Utils
|
|
|
( cd lzma-%{V_lzmautils}
|
|
|
CC="%{l_cc}" \
|
|
|
- CXX="%{l_cxx}" \
|
|
|
CFLAGS="%{l_cflags -O}" \
|
|
|
- CXXFLAGS="%{l_cxxflags -O}" \
|
|
|
./configure \
|
|
|
--prefix=%{l_prefix} \
|
|
|
--mandir=%{l_prefix}/man \
|