mirror of https://github.com/madler/zlib.git
Patch provided by Franz Schrober.pull/2/head
parent
e8576790be
commit
9e50ed8ef1
3 changed files with 52 additions and 0 deletions
@ -0,0 +1,28 @@ |
||||
lib_LTLIBRARIES = libminizip.la
|
||||
|
||||
libminizip_la_SOURCES = \
|
||||
ioapi.c \
|
||||
mztools.c \
|
||||
unzip.c \
|
||||
zip.c
|
||||
|
||||
libminizip_la_CFLAGS = -I../.. -L../..
|
||||
libminizip_la_LDFLAGS = -version-info 1:0:0 -lz
|
||||
|
||||
minizip_includedir = $(includedir)/minizip
|
||||
minizip_include_HEADERS = \
|
||||
crypt.h \
|
||||
ioapi.h \
|
||||
mztools.h \
|
||||
unzip.h \
|
||||
zip.h
|
||||
|
||||
pkgconfigdir = $(libdir)/pkgconfig
|
||||
pkgconfig_DATA = minizip.pc
|
||||
|
||||
EXTRA_PROGRAMS = miniunzip minizip
|
||||
|
||||
miniunzip_SOURCES = miniunz.c
|
||||
miniunzip_LDADD = libminizip.la
|
||||
|
||||
minizip_SOURCES = minizip.c
|
@ -0,0 +1,12 @@ |
||||
# -*- Autoconf -*- |
||||
# Process this file with autoconf to produce a configure script. |
||||
|
||||
AC_INIT([minizip], [@ZLIB_VER@], [bugzilla.redhat.com]) |
||||
AC_CONFIG_SRCDIR([minigzip.c]) |
||||
AM_INIT_AUTOMAKE([foreign]) |
||||
LT_INIT |
||||
|
||||
AC_SUBST([HAVE_UNISTD_H], [0]) |
||||
AC_CHECK_HEADER([unistd.h], [HAVE_UNISTD_H=1], []) |
||||
AC_CONFIG_FILES([Makefile minizip.pc]) |
||||
AC_OUTPUT |
@ -0,0 +1,12 @@ |
||||
prefix=@prefix@ |
||||
exec_prefix=@exec_prefix@ |
||||
libdir=@libdir@ |
||||
includedir=@includedir@/minizip |
||||
|
||||
Name: minizip |
||||
Description: Minizip zip file manipulation library |
||||
Requires: |
||||
Version: @PACKAGE_VERSION@ |
||||
Libs: -L${libdir} -lminizip |
||||
Libs.private: -lz |
||||
Cflags: -I${includedir} |
Loading…
Reference in new issue