diff options
author | Vlad Glagolev | 2010-03-16 15:06:52 +0300 |
---|---|---|
committer | Vlad Glagolev | 2010-03-16 15:06:52 +0300 |
commit | a16fcf1bab0e7f90df6fe9da0979cba5947b2e29 (patch) | |
tree | c72a84af0d9ff8456fbc6605d3c5147f38dd441e /archive-libs/zlib | |
parent | 29221a8f5c043814fa5a3b2bc4834424c50b502a (diff) |
zlib: installation of missing header
Diffstat (limited to 'archive-libs/zlib')
-rwxr-xr-x | archive-libs/zlib/DETAILS | 2 | ||||
-rw-r--r-- | archive-libs/zlib/HISTORY | 3 | ||||
-rw-r--r-- | archive-libs/zlib/pkgpath.patch | 17 |
3 files changed, 19 insertions, 3 deletions
diff --git a/archive-libs/zlib/DETAILS b/archive-libs/zlib/DETAILS index bb213d271a..6b0dda9d88 100755 --- a/archive-libs/zlib/DETAILS +++ b/archive-libs/zlib/DETAILS @@ -1,6 +1,6 @@ SPELL=zlib VERSION=1.2.4 - PATCHLEVEL=1 + PATCHLEVEL=2 SOURCE_HASH=sha512:385ba58d27ff02cc5a264180d6c2bb8b3789a555504c669907e294adce2d6bd36ba14da196eab811cdf7f11ab43ac1b38e9d3ea5f44f8616a5e5dbf3a60906de SOURCE=$SPELL-$VERSION.tar.bz2 SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION diff --git a/archive-libs/zlib/HISTORY b/archive-libs/zlib/HISTORY index 83938a3f9c..81c44b7b84 100644 --- a/archive-libs/zlib/HISTORY +++ b/archive-libs/zlib/HISTORY @@ -2,7 +2,8 @@ * DETAILS: PATCHLEVEL=1 * BUILD: moved $OPTS here from PRE_BUILD * PRE_BUILD: apply the patch; quoting paths; cleaned up - * pkgpath.patch: added, to fix pkgconfig path (pkgconfig: /lib -> /usr/lib) + * pkgpath.patch: added, to fix pkgconfig path (pkgconfig: /lib -> + /usr/lib); added installation of missing header (zutil.h) 2010-03-15 Sukneet Basuta <sukneet@sourcemage.org> * DETAILS: updated spell to 1.2.4 diff --git a/archive-libs/zlib/pkgpath.patch b/archive-libs/zlib/pkgpath.patch index de436cceb1..e7437d5357 100644 --- a/archive-libs/zlib/pkgpath.patch +++ b/archive-libs/zlib/pkgpath.patch @@ -1,5 +1,5 @@ --- Makefile.in.orig 2010-03-14 05:10:27.000000000 +0300 -+++ Makefile.in 2010-03-16 11:16:50.868545002 +0300 ++++ Makefile.in 2010-03-16 15:01:38.585868726 +0300 @@ -48,7 +48,7 @@ includedir = ${prefix}/include mandir = ${prefix}/share/man @@ -9,3 +9,18 @@ OBJC = adler32.o compress.o crc32.o deflate.o gzclose.o gzlib.o gzread.o \ gzwrite.o infback.o inffast.o inflate.o inftrees.o trees.o uncompr.o zutil.o +@@ -182,11 +182,11 @@ + + install: install-libs + -@if [ ! -d $(DESTDIR)$(includedir) ]; then mkdir -p $(DESTDIR)$(includedir); fi +- cp zlib.h zconf.h $(DESTDIR)$(includedir) +- chmod 644 $(DESTDIR)$(includedir)/zlib.h $(DESTDIR)$(includedir)/zconf.h ++ cp zlib.h zconf.h zutil.h $(DESTDIR)$(includedir) ++ chmod 644 $(DESTDIR)$(includedir)/zlib.h $(DESTDIR)$(includedir)/zconf.h $(DESTDIR)$(includedir)/zutil.h + + uninstall: +- cd $(DESTDIR)$(includedir); rm -f zlib.h zconf.h ++ cd $(DESTDIR)$(includedir); rm -f zlib.h zconf.h zutil.h + cd $(DESTDIR)$(libdir); rm -f libz.a; \ + if test "$(SHAREDLIBV)" -a -f $(SHAREDLIBV); then \ + rm -f $(SHAREDLIBV) $(SHAREDLIB) $(SHAREDLIBM); \ |