]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/blob - squashfs-tools/squashfs-tools.nm
glibc: Disable multilib support on X86_64
[people/stevee/ipfire-3.x.git] / squashfs-tools / squashfs-tools.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = squashfs-tools
7 version = 4.5.1
8 release = 1
9
10 groups = System/Filesystems
11 url = https://github.com/plougher/squashfs-tools
12 license = GPLv2
13 summary = Tools to create and extract Squashfs filesystems
14
15 description
16 Squashfs is a highly compressed read-only filesystem for Linux.
17
18 This package contains the utilities for manipulating squashfs filesystems.
19 end
20
21 source_dl = https://github.com/plougher/squashfs-tools/archive/refs/tags/%{version}.tar.gz#/
22
23 build
24 requires
25 attr-devel
26 help2man
27 lz4-devel
28 lzo-devel
29 xz-devel
30 zlib-devel
31 zstd-devel
32 end
33
34 DIR_APP = %{DIR_SRC}/%{thisapp}/squashfs-tools
35
36 build
37 CFLAGS="%{CFLAGS}" \
38 LZ4_SUPPORT=1 \
39 LZMA_XZ_SUPPORT=1 \
40 LZO_SUPPORT=1 \
41 XZ_SUPPORT=1 \
42 ZSTD_SUPPORT=1 \
43 make %{PARALLELISMFLAGS}
44 end
45
46 install
47 make install \
48 INSTALL_PREFIX=%{BUILDROOT}%{prefix} \
49 INSTALL_DIR=%{BUILDROOT}%{bindir} \
50 INSTALL_MANPAGES_DIR=%{BUILDROOT}%{mandir}/man1
51 end
52 end
53
54 packages
55 package %{name}
56
57 package %{name}-debuginfo
58 template DEBUGINFO
59 end
60 end