summaryrefslogtreecommitdiff
path: root/community/minizip
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/minizip
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 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: