]> git.ipfire.org Git - ipfire-3.x.git/blame - lz4/lz4.nm
lz4: New package
[ipfire-3.x.git] / lz4 / lz4.nm
CommitLineData
6fc53035
MT
1###############################################################################
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
4###############################################################################
5
6name = lz4
7version = 1.9.2
8release = 1
9
10groups = System/Libraries
11url = http://www.lz4.org/
12license = GPLv2
13summary = Extremely fast compression algorithm
14
15description
16 LZ4 is lossless compression algorithm, providing compression speed
17 > 500 MB/s per core (>0.15 Bytes/cycle).
18 It features an extremely fast decoder, with speed in multiple GB/s
19 per core (~1 Byte/cycle). A high compression derivative, called
20 LZ4_HC, is available, trading customizable CPU time for compression
21 ratio.
22end
23
24source_dl = https://github.com/lz4/lz4/archive/v%{version}.tar.gz#/
25
26build
27 build
28 make -C lib PREFIX=%{prefix} %{PARALLELISMFLAGS}
29 make -C programs PREFIX=%{prefix} lz4 lz4c
30 end
31
32 test
33 make check
34 end
35
36 make_install_targets += PREFIX=%{prefix} libdir=%{libdir}
37end
38
39packages
40 package %{name}
41
42 package %{name}-libs
43 template LIBS
44 end
45
46 package %{name}-devel
47 template DEVEL
48 end
49
50 package %{name}-debuginfo
51 template DEBUGINFO
52 end
53end