]>
Commit | Line | Data |
---|---|---|
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 |
6 | name = unzip |
7 | version = 6.0 | |
f4bea06e | 8 | release = 2 |
802ea3af MT |
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 | |
20003b56 | 21 | in some respects. |
802ea3af | 22 | end |
20003b56 | 23 | |
802ea3af | 24 | thisapp = %{name}60 |
e5420ad7 | 25 | |
802ea3af MT |
26 | source_dl += ftp://ftp.info-zip.org/pub/infozip/src/ |
27 | sources = %{thisapp}.tgz | |
20003b56 | 28 | |
802ea3af | 29 | CFLAGS += -D_LARGEFILE64_SOURCE |
20003b56 | 30 | |
802ea3af MT |
31 | build |
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" | |
47 | end | |
20003b56 | 48 | |
802ea3af MT |
49 | packages |
50 | package %{name} | |
51 | end | |
52 | end |