]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - pkgs/core/unzip/unzip.nm
159dee032f1d9b65a29abb91d9ee9dd34ebfab60
[people/ms/ipfire-3.x.git] / pkgs / core / unzip / unzip.nm
1 ###############################################################################
2 # #
3 # IPFire.org - A linux based firewall #
4 # Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt #
5 # #
6 # This program is free software: you can redistribute it and/or modify #
7 # it under the terms of the GNU General Public License as published by #
8 # the Free Software Foundation, either version 3 of the License, or #
9 # (at your option) any later version. #
10 # #
11 # This program is distributed in the hope that it will be useful, #
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of #
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
14 # GNU General Public License for more details. #
15 # #
16 # You should have received a copy of the GNU General Public License #
17 # along with this program. If not, see <http://www.gnu.org/licenses/>. #
18 # #
19 ###############################################################################
20
21 ###############################################################################
22 # Definitions
23 ###############################################################################
24
25 include $(PKGROOT)/Include
26
27 PKG_NAME = unzip
28 PKG_VER = 5.52
29 PKG_REL = 0
30
31 PKG_MAINTAINER =
32 PKG_GROUP = Applications/Archiving
33 PKG_URL = ftp://ftp.info-zip.org/pub/infozip/src/
34 PKG_LICENSE = BSD
35 PKG_SUMMARY = A utility for unpacking zip files.
36
37 define PKG_DESCRIPTION
38 The unzip utility is used to list, test, or extract files from a zip \
39 archive. Zip archives are commonly found on MS-DOS systems. The zip \
40 utility, included in the zip package, creates zip archives. Zip and \
41 unzip are both compatible with archives created by PKWARE(R)'s PKZIP \
42 for MS-DOS, but the programs' options and default behaviors do differ \
43 in some respects.
44 endef
45
46 PKG_TARBALL = $(PKG_NAME)552.tgz
47
48 CFLAGS += -D_LARGEFILE64_SOURCE
49
50 define STAGE_BUILD
51 cd $(DIR_APP) && ln -svf unix/Makefile Makefile
52 cd $(DIR_APP) && make generic CC="gcc $(CFLAGS)" LD=gcc $(PARALLELISMFLAGS)
53 endef
54
55 define STAGE_INSTALL
56 cd $(DIR_APP) && make install prefix=$(BUILDROOT)/usr \
57 MANDIR=/usr/share/man/man1 INSTALL="cp -p"
58 endef