summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorwiz <wiz>2013-09-01 08:28:29 +0000
committerwiz <wiz>2013-09-01 08:28:29 +0000
commita6b6684c6aa2c37295e2b1415b9b667dc2299bf1 (patch)
treef08c49fb47b08d8f02c1ce3c1e7413f7d2d4f93a /archivers
parent9800fcde8822461d6a7d5918a478fe13b0954214 (diff)
downloadpkgsrc-a6b6684c6aa2c37295e2b1415b9b667dc2299bf1.tar.gz
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."
Diffstat (limited to 'archivers')
-rw-r--r--archivers/libunrar/DESCR10
-rw-r--r--archivers/libunrar/Makefile16
-rw-r--r--archivers/libunrar/PLIST5
3 files changed, 31 insertions, 0 deletions
diff --git a/archivers/libunrar/DESCR b/archivers/libunrar/DESCR
new file mode 100644
index 00000000000..7cf8801a514
--- /dev/null
+++ b/archivers/libunrar/DESCR
@@ -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."
diff --git a/archivers/libunrar/Makefile b/archivers/libunrar/Makefile
new file mode 100644
index 00000000000..a1777e5ecd1
--- /dev/null
+++ b/archivers/libunrar/Makefile
@@ -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"
diff --git a/archivers/libunrar/PLIST b/archivers/libunrar/PLIST
new file mode 100644
index 00000000000..6cd530ba45f
--- /dev/null
+++ b/archivers/libunrar/PLIST
@@ -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