pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/archivers/unalz Import unalz, packaged by Lee Jae-Hong...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2049774598ed
branches:  trunk
changeset: 485081:2049774598ed
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Fri Dec 03 17:17:10 2004 +0000

description:
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:

 archivers/unalz/DESCR            |   5 +++++
 archivers/unalz/Makefile         |  31 +++++++++++++++++++++++++++++++
 archivers/unalz/PLIST            |   2 ++
 archivers/unalz/distinfo         |   5 +++++
 archivers/unalz/patches/patch-aa |  40 ++++++++++++++++++++++++++++++++++++++++
 5 files changed, 83 insertions(+), 0 deletions(-)

diffs (103 lines):

diff -r 247aec4c1e82 -r 2049774598ed archivers/unalz/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/unalz/DESCR     Fri Dec 03 17:17:10 2004 +0000
@@ -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 -r 247aec4c1e82 -r 2049774598ed archivers/unalz/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/unalz/Makefile  Fri Dec 03 17:17:10 2004 +0000
@@ -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@localhost
+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 -r 247aec4c1e82 -r 2049774598ed archivers/unalz/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/unalz/PLIST     Fri Dec 03 17:17:10 2004 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/12/03 17:17:10 minskim Exp $
+bin/unalz
diff -r 247aec4c1e82 -r 2049774598ed archivers/unalz/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/unalz/distinfo  Fri Dec 03 17:17:10 2004 +0000
@@ -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 -r 247aec4c1e82 -r 2049774598ed archivers/unalz/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/unalz/patches/patch-aa  Fri Dec 03 17:17:10 2004 +0000
@@ -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)



Home | Main Index | Thread Index | Old Index