]> git.ipfire.org Git - ipfire-3.x.git/blame - unzip/unzip.nm
liboping: Fix build with GCC 9
[ipfire-3.x.git] / unzip / unzip.nm
CommitLineData
20003b56 1###############################################################################
802ea3af
MT
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
20003b56
BS
4###############################################################################
5
802ea3af
MT
6name = unzip
7version = 6.0
050325f2 8release = 5
802ea3af
MT
9
10groups = Applications/Archiving
11url = ftp://ftp.info-zip.org/pub/infozip/src/
12license = BSD
13summary = A utility for unpacking zip files.
14
15description
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
20003b56 21 in some respects.
802ea3af 22end
20003b56 23
802ea3af 24thisapp = %{name}60
e5420ad7 25
802ea3af
MT
26source_dl += ftp://ftp.info-zip.org/pub/infozip/src/
27sources = %{thisapp}.tgz
20003b56 28
802ea3af 29CFLAGS += -D_LARGEFILE64_SOURCE
20003b56 30
802ea3af
MT
31build
32 DIR_APP = %{DIR_SRC}/%{thisapp}
e5420ad7 33
050325f2
MT
34 build
35 make -f unix/Makefile prefix=%{prefix} \
36 CF="%{CFLAGS} -I." LF2="%{LDFLAGS}" unzips %{PARALLELISMFLAGS}
802ea3af 37 end
e5420ad7 38
050325f2
MT
39 install
40 make -f unix/Makefile prefix=%{BUILDROOT}%{prefix} \
41 MANDIR=%{BUILDROOT}%{mandir}/man1 INSTALL="cp -p" install
5d6593c1 42 end
802ea3af 43end
20003b56 44
802ea3af
MT
45packages
46 package %{name}
1f9bc2f0
MT
47
48 package %{name}-debuginfo
49 template DEBUGINFO
50 end
802ea3af 51end