]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - unzip/unzip.nm
libnl3: New package.
[people/ms/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 = 3
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 prepare_cmds
35 ln -svf unix/Makefile Makefile
36 end
37
38 make_build_targets += \
39 generic \
40 CC="gcc %{CFLAGS}" \
41 LD=gcc
42
43 make_install_targets += \
44 prefix=%{BUILDROOT}/usr \
45 MANDIR=/usr/share/man/man1 \
46 INSTALL="cp -p"
47
48 install_cmds
49 chown -v root.root %{BUILDROOT}/usr/bin/zipgrep
50 end
51 end
52
53 packages
54 package %{name}
55
56 package %{name}-debuginfo
57 template DEBUGINFO
58 end
59 end