|
Revision 16916, 1.3 KB
(checked in by dmichelsen, 4 months ago)
|
|
WHOLE TREE: Explicitly set GARTYPE to current default 'v2'
|
| Line | |
|---|
| 1 | NAME = unrar |
|---|
| 2 | VERSION = 4.0.7 |
|---|
| 3 | CATEGORIES = utils |
|---|
| 4 | GARTYPE = v2 |
|---|
| 5 | |
|---|
| 6 | DESCRIPTION = RAR archive extractor |
|---|
| 7 | define 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. |
|---|
| 12 | endef |
|---|
| 13 | |
|---|
| 14 | MASTER_SITES = http://www.rarlab.com/rar/ |
|---|
| 15 | DISTFILES = unrarsrc-$(VERSION).tar.gz |
|---|
| 16 | DISTFILES += unrar.1 |
|---|
| 17 | |
|---|
| 18 | VENDOR_URL = http://www.rarlab.com/rar_add.htm |
|---|
| 19 | |
|---|
| 20 | LICENSE = license.txt |
|---|
| 21 | |
|---|
| 22 | DISTNAME = unrar |
|---|
| 23 | |
|---|
| 24 | CONFIGURE_SCRIPTS = |
|---|
| 25 | |
|---|
| 26 | OPT_FLAGS_SOS = -fast -erroff=wvarhidemem |
|---|
| 27 | EXTRA_LINKER_FLAGS = -norunpath |
|---|
| 28 | |
|---|
| 29 | BUILD_ARGS = -f makefile.unix CXX=$(CXX) CXXFLAGS="$(CXXFLAGS)" DEFINES="-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE" STRIP=strip |
|---|
| 30 | |
|---|
| 31 | TEST_SCRIPTS = |
|---|
| 32 | |
|---|
| 33 | INSTALL_SCRIPTS = custom |
|---|
| 34 | |
|---|
| 35 | include gar/category.mk |
|---|
| 36 | |
|---|
| 37 | post-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 | |
|---|
| 41 | install-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) |
|---|