]> git.ipfire.org Git - ipfire-3.x.git/blob - unzip/unzip.nm
json-c: Update to version 0.17-20230812
[ipfire-3.x.git] / unzip / unzip.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = unzip
7 version = 6.0
8 release = 5
9
10 groups = Applications/Archiving
11 url = ftp://ftp.info-zip.org/pub/infozip/src/
12 license = BSD
13 summary = A utility for unpacking zip files.
14
15 description
16 The unzip utility is used to list, test, or extract files from a zip
17 archive. Zip archives are commonly found on MS-DOS systems. The zip
18 utility, included in the zip package, creates zip archives. Zip and
19 unzip are both compatible with archives created by PKWARE(R)'s PKZIP
20 for MS-DOS, but the programs' options and default behaviors do differ
21 in some respects.
22 end
23
24 thisapp = %{name}60
25
26 source_dl += ftp://ftp.info-zip.org/pub/infozip/src/
27 sources = %{thisapp}.tgz
28
29 CFLAGS += -D_LARGEFILE64_SOURCE
30
31 build
32 DIR_APP = %{DIR_SRC}/%{thisapp}
33
34 build
35 make -f unix/Makefile prefix=%{prefix} \
36 CF="%{CFLAGS} -I." LF2="%{LDFLAGS}" unzips %{PARALLELISMFLAGS}
37 end
38
39 install
40 make -f unix/Makefile prefix=%{BUILDROOT}%{prefix} \
41 MANDIR=%{BUILDROOT}%{mandir}/man1 INSTALL="cp -p" install
42 end
43 end
44
45 packages
46 package %{name}
47
48 package %{name}-debuginfo
49 template DEBUGINFO
50 end
51 end