]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blame - unzip/unzip.nm
pdns: Update to version 3.4.7
[people/amarx/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
4175149c 8release = 4
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
802ea3af
MT
34 prepare_cmds
35 ln -svf unix/Makefile Makefile
36 end
e5420ad7 37
802ea3af
MT
38 make_build_targets += \
39 generic \
40 CC="gcc %{CFLAGS}" \
41 LD=gcc
e5420ad7 42
f4bea06e 43 make_install_targets += \
802ea3af
MT
44 prefix=%{BUILDROOT}/usr \
45 MANDIR=/usr/share/man/man1 \
46 INSTALL="cp -p"
5d6593c1
MT
47
48 install_cmds
49 chown -v root.root %{BUILDROOT}/usr/bin/zipgrep
50 end
802ea3af 51end
20003b56 52
802ea3af
MT
53packages
54 package %{name}
1f9bc2f0
MT
55
56 package %{name}-debuginfo
57 template DEBUGINFO
58 end
802ea3af 59end