]> git.ipfire.org Git - ipfire-3.x.git/blame - compat-xz/compat-xz.nm
pcengines-firmware: update to 4.9.0.7
[ipfire-3.x.git] / compat-xz / compat-xz.nm
CommitLineData
7ba4b2a0
SS
1###############################################################################
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
4###############################################################################
5
6name = compat-xz
7version = 4.999.9beta
8release = 1
9
10thisapp = xz-%{version}
11
12groups = Applications/Compression
13url = http://tukaani.org/xz/
14license = LGPLv2+
15summary = LZMA Utils.
16
17description
18 LZMA provides very high compression ratio and fast decompression. The
19 core of the LZMA utils is Igor Pavlov's LZMA SDK containing the actual
20 LZMA encoder/decoder. LZMA utils add a few scripts which provide
21 gzip-like command line interface and a couple of other LZMA related
22 tools.
23end
24
25source_dl = http://tukaani.org/xz/
26sources = %{thisapp}.tar.xz
27
28build
29 configure_options += \
30 --disable-rpath
31
32 test
33 export LD_LIBRARY_PATH=$(pwd)/src/liblzma/.libs
34 make check
35 end
36
37 install
38 # Only install libraries.
39 mkdir -pv %{BUILDROOT}%{libdir}
40 cp -vr src/liblzma/.libs/liblzma.so.0* %{BUILDROOT}%{libdir}
41 end
42end
43
44packages
45 package %{name}
46 provides
47 xz = %{thisver}
48 end
49
50 obsoletes
51 xz-compat
52 end
53
54 conflicts
55 xz <= %{thisver}
56 end
57 end
58
59 package %{name}-debuginfo
60 template DEBUGINFO
61 end
62end