summaryrefslogtreecommitdiff
path: root/community/minizip
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-06-17 01:18:25 -0700
committerroot <root@rshg054.dnsready.net>2013-06-17 01:18:25 -0700
commit3c8e479bfe9fab72058c833f2909a26232114733 (patch)
tree18202d3eaa2c9001216c161e395eb2d39a8d05fd /community/minizip
parent44c10f274ec720a1512b15457b9eeffea28c6041 (diff)
Mon Jun 17 01:18:13 PDT 2013
Diffstat (limited to 'community/minizip')
-rw-r--r--community/minizip/LICENSE54
-rw-r--r--community/minizip/PKGBUILD44
2 files changed, 98 insertions, 0 deletions
diff --git a/community/minizip/LICENSE b/community/minizip/LICENSE
new file mode 100644
index 000000000..7fb61585d
--- /dev/null
+++ b/community/minizip/LICENSE
@@ -0,0 +1,54 @@
+ Condition of use and distribution are the same than zlib :
+
+ This software is provided 'as-is', without any express or implied
+ warranty. In no event will the authors be held liable for any damages
+ arising from the use of this software.
+
+ Permission is granted to anyone to use this software for any purpose,
+ including commercial applications, and to alter it and redistribute it
+ freely, subject to the following restrictions:
+
+ 1. The origin of this software must not be misrepresented; you must not
+ claim that you wrote the original software. If you use this software
+ in a product, an acknowledgment in the product documentation would be
+ appreciated but is not required.
+ 2. Altered source versions must be plainly marked as such, and must not be
+ misrepresented as being the original software.
+ 3. This notice may not be removed or altered from any source distribution.
+
+ Copyright (C) 1998-2010 Gilles Vollant (minizip) ( http://www.winimage.com/zLibDll/minizip.html )
+
+ Modifications of Unzip for Zip64
+ Copyright (C) 2007-2008 Even Rouault
+
+ Modifications for Zip64 support on both zip and unzip
+ Copyright (C) 2009-2010 Mathias Svensson ( http://result42.com )
+
+mztools.h
+ Code: Xavier Roche '2004
+
+--------------------------------------------------------------------------------
+
+crypt.h
+
+ Version 1.01e, February 12th, 2005
+
+ Copyright (C) 1998-2005 Gilles Vollant
+
+ This code is a modified version of crypting code in Infozip distribution
+
+ The encryption/decryption parts of this source code (as opposed to the
+ non-echoing password parts) were originally written in Europe. The
+ whole source package can be freely distributed, including from the USA.
+ (Prior to January 2000, re-export from the US was a violation of US law.)
+
+ This encryption code is a direct transcription of the algorithm from
+ Roger Schlafly, described by Phil Katz in the file appnote.txt. This
+ file (appnote.txt) is distributed with the PKZIP program (even in the
+ version without encryption capabilities).
+
+--------------------------------------------------------------------------------
+
+unzip.c
+
+for the license see: see: ftp://ftp.info-zip.org/pub/infozip/license.html
diff --git a/community/minizip/PKGBUILD b/community/minizip/PKGBUILD
new file mode 100644
index 000000000..f367b98fb
--- /dev/null
+++ b/community/minizip/PKGBUILD
@@ -0,0 +1,44 @@
+# $Id: PKGBUILD 68685 2012-03-31 16:54:07Z arodseth $
+# Maintainer: Alexander Rødseth <rodseth@gmail.com>
+# Contributor: Babets <fbabetz@yahoo.it>
+# Contributor: Leslie P. Polzer <polzer at stardawn dot org>
+
+pkgname=minizip
+pkgver=1.2.8
+pkgrel=1
+pkgdesc='ZIP file extraction library'
+url='http://www.winimage.com/zLibDll/minizip.html'
+license=('ZLIB' 'custom')
+arch=('x86_64' 'i686')
+depends=('zlib')
+options=('!libtool')
+source=("http://zlib.net/current/zlib-${pkgver}.tar.gz"
+ 'LICENSE')
+sha256sums=('36658cb768a54c1d4dec43c3116c27ed893e88b02ecfcb44f2166f9c0b7f2a0d'
+ '3b66c863472c2107984f383f34412578b479e7f8fa111ded78190ff0cb3f2eb7')
+
+prepare() {
+ cd "$srcdir/zlib-$pkgver/contrib/$pkgname"
+
+ rm -f Makefile
+ autoreconf -i
+ autoconf
+ automake --add-missing
+ automake
+}
+
+build() {
+ cd "$srcdir/zlib-$pkgver/contrib/$pkgname"
+
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/zlib-$pkgver/contrib/$pkgname"
+
+ make install DESTDIR="$pkgdir"
+ install -Dm644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et: