summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2004-12-03 17:17:10 +0000
committerminskim <minskim@pkgsrc.org>2004-12-03 17:17:10 +0000
commit9004d39a55c2b6a592eb494f5147706dab60c898 (patch)
tree3c4cabda3cd91f6daf6797f67eed1f578686e4c9 /archivers
parent91896724b719d5ca6d44ae078c6a29044e739bd6 (diff)
downloadpkgsrc-9004d39a55c2b6a592eb494f5147706dab60c898.tar.gz
Import unalz, packaged by Lee Jae-Hong (pyrasis at chol dot com) and
modified by me. unalz is a multi platform open-source ALZ extractor. It is a console version of tzip (http://www.kipple.pe.kr/win/tzip/), and extracts .alz files. Unalz supports alz, bzip2, and raw formats, multiple volume archives (alz, a00, a01, ...), large files (over 2GB). Currently, it does not support password-protected archives and CRC checking.
Diffstat (limited to 'archivers')
-rw-r--r--archivers/unalz/DESCR5
-rw-r--r--archivers/unalz/Makefile31
-rw-r--r--archivers/unalz/PLIST2
-rw-r--r--archivers/unalz/distinfo5
-rw-r--r--archivers/unalz/patches/patch-aa40
5 files changed, 83 insertions, 0 deletions
diff --git a/archivers/unalz/DESCR b/archivers/unalz/DESCR
new file mode 100644
index 00000000000..2c75f4d0a13
--- /dev/null
+++ b/archivers/unalz/DESCR
@@ -0,0 +1,5 @@
+unalz is a multi platform open-source ALZ extractor. It is a console
+version of tzip (http://www.kipple.pe.kr/win/tzip/), and extracts .alz
+files. Unalz supports alz, bzip2, and raw formats, multiple volume
+archives (alz, a00, a01, ...), large files (over 2GB). Currently, it
+does not support password-protected archives and CRC checking.
diff --git a/archivers/unalz/Makefile b/archivers/unalz/Makefile
new file mode 100644
index 00000000000..1021bec1481
--- /dev/null
+++ b/archivers/unalz/Makefile
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/12/03 17:17:10 minskim Exp $
+#
+
+DISTNAME= unalz
+PKGNAME= unalz-0.20
+CATEGORIES= archivers
+MASTER_SITES= http://www.kipple.pe.kr/win/unalz/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= pyrasis@chol.com
+HOMEPAGE= http://www.kipple.pe.kr/win/unalz/
+COMMENT= Open-source ALZ extractor
+
+PKG_INSTALLATION_TYPES= overwrite pkgviews
+
+WRKSRC= ${WRKDIR}/unalz
+NO_CONFIGURE= yes
+USE_BUILDLINK3= yes
+USE_LANGUAGES= c c++
+
+MAKEFILE= makefile
+
+INSTALLATION_DIRS= bin
+
+.include "../../archivers/bzip2/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/unalz ${PREFIX}/bin
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/archivers/unalz/PLIST b/archivers/unalz/PLIST
new file mode 100644
index 00000000000..00166c071d1
--- /dev/null
+++ b/archivers/unalz/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/12/03 17:17:10 minskim Exp $
+bin/unalz
diff --git a/archivers/unalz/distinfo b/archivers/unalz/distinfo
new file mode 100644
index 00000000000..1db69809e6a
--- /dev/null
+++ b/archivers/unalz/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/12/03 17:17:10 minskim Exp $
+
+SHA1 (unalz.tgz) = 91b2c0a15b91058b54e10b66195e1e389a9ec621
+Size (unalz.tgz) = 96986 bytes
+SHA1 (patch-aa) = 075f38458c59b1d3735f21fcc4724c3cc84cbdee
diff --git a/archivers/unalz/patches/patch-aa b/archivers/unalz/patches/patch-aa
new file mode 100644
index 00000000000..57b18a40681
--- /dev/null
+++ b/archivers/unalz/patches/patch-aa
@@ -0,0 +1,40 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/12/03 17:17:10 minskim Exp $
+
+--- makefile.orig 2004-10-22 08:02:04.000000000 -0500
++++ makefile
+@@ -1,9 +1,6 @@
+-CPP = g++
+-CC = gcc
+-OBJ = main.o UnAlz.o UnAlzBz2decompress.o UnAlzBzip2.o UnAlzbzlib.o zlib/adler32.o zlib/crc32.o zlib/infblock.o zlib/infcodes.o zlib/inffast.o zlib/inflate.o zlib/inftrees.o zlib/infutil.o zlib/zutil.o bzip2/blocksort.o bzip2/compress.o bzip2/crctable.o bzip2/huffman.o bzip2/randtable.o
+-LINKOBJ = main.o UnAlz.o UnAlzBz2decompress.o UnAlzBzip2.o UnAlzbzlib.o zlib/adler32.o zlib/crc32.o zlib/infblock.o zlib/infcodes.o zlib/inffast.o zlib/inflate.o zlib/inftrees.o zlib/infutil.o zlib/zutil.o bzip2/blocksort.o bzip2/compress.o bzip2/crctable.o bzip2/huffman.o bzip2/randtable.o
++OBJ = main.o UnAlz.o UnAlzBz2decompress.o UnAlzBzip2.o UnAlzbzlib.o
++LINKOBJ = main.o UnAlz.o UnAlzBz2decompress.o UnAlzBzip2.o UnAlzbzlib.o
+ BIN = unalz
+-CFLAGS =
+
+ all: unalz
+
+@@ -11,19 +8,19 @@ clean:
+ rm -f $(OBJ) $(BIN)
+
+ $(BIN): $(OBJ)
+- $(CPP) $(LINKOBJ) -o "unalz"
++ $(CXX) $(LINKOBJ) -o "unalz" $(LDFLAGS) -lz -lbz2
+
+ main.o: main.cpp
+- $(CPP) -c main.cpp -o main.o
++ $(CXX) $(CXXFLAGS) -c main.cpp -o main.o
+
+ UnAlz.o: UnAlz.cpp
+- $(CPP) -c UnAlz.cpp -o UnAlz.o
++ $(CXX) $(CXXFLAGS) -c UnAlz.cpp -o UnAlz.o
+
+ UnAlzBz2decompress.o: UnAlzBz2decompress.c
+ $(CC) -c UnAlzBz2decompress.c -o UnAlzBz2decompress.o $(CFLAGS)
+
+ UnAlzBzip2.o: UnAlzBzip2.cpp
+- $(CPP) -c UnAlzBzip2.cpp -o UnAlzBzip2.o
++ $(CXX) $(CXXFLAGS) -c UnAlzBzip2.cpp -o UnAlzBzip2.o
+
+ UnAlzbzlib.o: UnAlzbzlib.c
+ $(CC) -c UnAlzbzlib.c -o UnAlzbzlib.o $(CFLAGS)