Import libunrar-5.0.7 as archivers/libunrar.

This package contains the unrar library.

unRAR is a utility to extract, test and view the contents of archives
created with the RAR archiver, version 1.50 and above.  The unRAR
utility is a minor part of the RAR archiver and contains RAR
uncompression algorithm. UnRAR requires very small volume of memory to
operate.

The license for this software states that "the code may not be used to
develop a RAR (WinRAR) compatible archiver."
This commit is contained in:
wiz 2013-09-01 08:28:29 +00:00
parent ecb8a115ce
commit 60f09de47e
3 changed files with 31 additions and 0 deletions

10
archivers/libunrar/DESCR Normal file
View file

@ -0,0 +1,10 @@
This package contains the unrar library.
unRAR is a utility to extract, test and view the contents of archives
created with the RAR archiver, version 1.50 and above. The unRAR
utility is a minor part of the RAR archiver and contains RAR
uncompression algorithm. UnRAR requires very small volume of memory to
operate.
The license for this software states that "the code may not be used to
develop a RAR (WinRAR) compatible archiver."

View file

@ -0,0 +1,16 @@
# $NetBSD: Makefile,v 1.1 2013/09/01 08:28:29 wiz Exp $
.include "../../archivers/unrar/Makefile.common"
PKGNAME= ${DISTNAME:S/^/lib/:S/src//}
BUILD_TARGET= lib
INSTALLATION_DIRS= include lib
CXXFLAGS+= -DRARDLL
do-install:
${INSTALL_DATA} ${WRKSRC}/dll.hpp ${DESTDIR}${PREFIX}/include
${INSTALL_DATA} ${WRKSRC}/os.hpp ${DESTDIR}${PREFIX}/include
${INSTALL_DATA} ${WRKSRC}/raros.hpp ${DESTDIR}${PREFIX}/include
${INSTALL_DATA} ${WRKSRC}/libunrar.so ${DESTDIR}${PREFIX}/lib
.include "../../mk/bsd.pkg.mk"

5
archivers/libunrar/PLIST Normal file
View file

@ -0,0 +1,5 @@
@comment $NetBSD: PLIST,v 1.1 2013/09/01 08:28:29 wiz Exp $
include/dll.hpp
include/os.hpp
include/raros.hpp
lib/libunrar.so