645494d180
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."
16 lines
514 B
Makefile
16 lines
514 B
Makefile
# $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"
|