1. Summary
  2. Files
  3. Support
  4. Report Spam
  5. Create account
  6. Log in

root/csw/mgar/pkg/p7zip/trunk/Makefile

Revision 19643, 2.4 KB (checked in by dmichelsen, 7 months ago)

WHOLE TREE: Remove default CATEGORIES

Line 
1NAME = p7zip
2VERSION = 9.20.1
3GARTYPE = v2
4
5DESCRIPTION = File archiver with high compression ratio
6define BLURB
7p7zip is a Unix port of 7-Zip, a file archiver with high compression
8ratio (www.7-zip.org) with lots of features:
9
10* 7-Zip is free software distributed under the GNU LGPL
11* High compression ratio in new 7z format with LZMA compression
12  o Unicode file names
13  o Variable dictionary size (up to 4 GB)
14  o Compressing speed: about 1 MB/s on 2 GHz CPU
15  o Decompressing speed: about 10-20 MB/s on 2 GHz CPU
16* Supported formats:
17  o Packing / unpacking: 7z, ZIP, GZIP, BZIP2 and TAR
18  o Unpacking only: RAR, CAB, ISO, ARJ, LZH, CHM, Z, CPIO, RPM, DEB
19    and NSIS
20* For ZIP and GZIP formats 7-Zip provides compression ratio that is
21  2-10 % better than ratio provided by PKZip and WinZip
22* Self-extracting capability for 7z format
23endef
24
25MASTER_SITES = $(SF_MIRROR)
26DISTNAME = $(NAME)_$(VERSION)
27DISTFILES = $(DISTNAME)_src_all.tar.bz2
28PATCHFILES += patch-CPP-7zip-Archive-Zip-ZipHandler.cpp
29PATCHFILES += patch-install.sh
30PATCHFILES += 0001-Disable-unrecognized-pragma.patch
31
32VENDOR_URL = http://p7zip.sourceforge.net/
33LICENSE = DOCS/License.txt
34
35# since there is no configure script, this is intentionally left empty
36CONFIGURE_SCRIPTS =
37
38# Defaults taken from makefile.solaris_sparc_CC_32
39EXTRA_CPPFLAGS = -s -mt \
40        -DHAVE_LONG_LONG \
41        -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE \
42        -DENV_UNIX \
43        -DNDEBUG -D_REENTRANT
44EXTRA_CPPFLAGS += -DBREAK_HANDLER -DUNICODE -D_UNICODE
45EXTRA_CPPFLAGS += -I../../C
46
47BUILD_OVERRIDE_VARS = CXX CC CC_SHARED LINK_SHARED LOCAL_LIBS LOCAL_LIBS_DLL OBJ_CRC32
48BUILD_OVERRIDE_VAR_CXX = $(CXX) $(CPPFLAGS) $(CXXFLAGS)
49BUILD_OVERRIDE_VAR_CC = $(CC) $(CPPFLAGS) $(CFLAGS)
50BUILD_OVERRIDE_VAR_CC_SHARED = $(LDFLAGS) -KPIC
51BUILD_OVERRIDE_VAR_LINK_SHARED = $(LDFLAGS) -KPIC -G
52BUILD_OVERRIDE_VAR_LOCAL_LIBS = -lpthread -lCrun
53BUILD_OVERRIDE_VAR_LOCAL_LIBS += -norunpath
54BUILD_OVERRIDE_VAR_LOCAL_LIBS_DLL = -lpthread -lCrun -ldl
55BUILD_OVERRIDE_VAR_LOCAL_LIBS_DLL += -norunpath
56BUILD_OVERRIDE_VAR_OBJ_CRC32 = $$(OBJ_CRC32_C)
57
58INSTALL_ARGS = DEST_HOME="$(DESTDIR)$(prefix)"
59INSTALL_ARGS += DEST_MAN="$(DESTDIR)$(mandir)"
60
61# Location of the system locale
62CHECKPKG_OVERRIDES_CSWp7zip += file-with-bad-content|/usr/share|root/opt/csw/share/doc/p7zip/README
63# This is an example
64CHECKPKG_OVERRIDES_CSWp7zip += file-with-bad-content|/usr/local|root/opt/csw/share/doc/p7zip/README
65
66include gar/category.mk
Note: See TracBrowser for help on using the browser.