summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2013-09-01 08:28:29 +0000
committerwiz <wiz@pkgsrc.org>2013-09-01 08:28:29 +0000
commit60f09de47ef3e3579215c5515c3dcd348239797d (patch)
treef08c49fb47b08d8f02c1ce3c1e7413f7d2d4f93a /archivers
parentecb8a115ce4364ac8d84dc77a5daafcee58a51fd (diff)
downloadpkgsrc-60f09de47ef3e3579215c5515c3dcd348239797d.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