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

root/csw/mgar/pkg/unrar/trunk/Makefile

Revision 16916, 1.3 KB (checked in by dmichelsen, 4 months ago)

WHOLE TREE: Explicitly set GARTYPE to current default 'v2'

Line 
1NAME = unrar
2VERSION = 4.0.7
3CATEGORIES = utils
4GARTYPE = v2
5
6DESCRIPTION = RAR archive extractor
7define BLURB
8  WinRAR is a powerful archive manager. It can backup your data and reduce the size
9  of email attachments, decompress RAR, ZIP and other files downloaded from Internet
10  and create new archives in RAR and ZIP file format. You can try WinRAR before buy,
11  its trial version is available in downloads.
12endef
13
14MASTER_SITES = http://www.rarlab.com/rar/
15DISTFILES  = unrarsrc-$(VERSION).tar.gz
16DISTFILES += unrar.1
17
18VENDOR_URL = http://www.rarlab.com/rar_add.htm
19
20LICENSE = license.txt
21
22DISTNAME = unrar
23
24CONFIGURE_SCRIPTS =
25
26OPT_FLAGS_SOS = -fast -erroff=wvarhidemem
27EXTRA_LINKER_FLAGS = -norunpath
28
29BUILD_ARGS = -f makefile.unix CXX=$(CXX) CXXFLAGS="$(CXXFLAGS)" DEFINES="-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE" STRIP=strip
30
31TEST_SCRIPTS =
32
33INSTALL_SCRIPTS = custom
34
35include gar/category.mk
36
37post-extract-modulated:
38        -perl -pi -e 's("/etc","/etc/rar","/usr/lib","/usr/local/lib","/usr/local/etc")("/etc/opt/csw","/opt/csw/etc")' \
39                $(WORKSRC)/pathfn.cpp
40
41install-custom:
42        ginstall -d $(DESTDIR)$(mandir)/man1
43        ginstall $(WORKDIR)/unrar.1 $(DESTDIR)$(mandir)/man1/
44        ginstall -d $(DESTDIR)$(bindir)
45        ginstall $(WORKSRC)/unrar $(DESTDIR)$(bindir)
46        ginstall -d $(DESTDIR)$(docdir)/unrar
47        ginstall $(WORKSRC)/readme.txt $(DESTDIR)$(docdir)/unrar
48        @$(MAKECOOKIE)
Note: See TracBrowser for help on using the browser.