Revision: 3896 http://gar.svn.sourceforge.net/gar/?rev=3896&view=rev Author: hson Date: 2009-03-24 00:50:52 +0000 (Tue, 24 Mar 2009)
Log Message: ----------- zlib: Initial commit Added Paths: ----------- csw/mgar/pkg/zlib/ csw/mgar/pkg/zlib/branches/ csw/mgar/pkg/zlib/tags/ csw/mgar/pkg/zlib/trunk/ csw/mgar/pkg/zlib/trunk/Makefile csw/mgar/pkg/zlib/trunk/checksums csw/mgar/pkg/zlib/trunk/files/ csw/mgar/pkg/zlib/trunk/files/Makefile.in.diff csw/mgar/pkg/zlib/trunk/files/configure.diff Property changes on: csw/mgar/pkg/zlib/trunk ___________________________________________________________________ Added: svn:ignore + cookies download work Added: svn:externals + gar https://gar.svn.sf.net/svnroot/gar/csw/mgar/gar/v2 Added: csw/mgar/pkg/zlib/trunk/Makefile =================================================================== --- csw/mgar/pkg/zlib/trunk/Makefile (rev 0) +++ csw/mgar/pkg/zlib/trunk/Makefile 2009-03-24 00:50:52 UTC (rev 3896) @@ -0,0 +1,38 @@ +GARNAME = zlib +GARVERSION = 1.2.3 +CATEGORIES = lib + +DESCRIPTION = Zlib Data Compression Library +define BLURB + zlib is designed to be a free, general-purpose, legally unencumbered -- that + is, not covered by any patents -- lossless data-compression library for use + on virtually any computer hardware and operating system. The zlib data format + is itself portable across platforms. Unlike the LZW compression method used + in Unix compress(1) and in the GIF image format, the compression method + currently used in zlib essentially never expands the data. (LZW can double or + triple the file size in extreme cases.) zlib's memory footprint is also + independent of the input data and can be reduced, if necessary, at some cost + in compression +endef + +SF_PROJ=libpng +MASTER_SITES = $(SF_MIRRORS) +DISTFILES = $(GARNAME)-$(GARVERSION).tar.bz2 + +SPKG_SOURCEURL = http://www.zlib.net + +# We define upstream file regex so we can be notifed of new upstream software release +UPSTREAM_MASTER_SITES = $(SF_PROJECT_SHOWFILE)=5624 +UPSTREAM_USE_SF = 1 +UFILES_REGEX = (\d+(?:\.\d+)*) + +PATCHFILES = Makefile.in.diff +PATCHFILES += configure.diff + +BUILD64 = 1 +NO_ISAEXEC = 1 + +CONFIGURE_ARGS = --prefix=$(prefix) --exec_prefix=$(exec_prefix) +CONFIGURE_ARGS += --libdir=$(libdir) --includedir=$(includedir) --shared + +include gar/category.mk Added: csw/mgar/pkg/zlib/trunk/checksums =================================================================== --- csw/mgar/pkg/zlib/trunk/checksums (rev 0) +++ csw/mgar/pkg/zlib/trunk/checksums 2009-03-24 00:50:52 UTC (rev 3896) @@ -0,0 +1,3 @@ +dee233bf288ee795ac96a98cc2e369b6 download/zlib-1.2.3.tar.bz2 +f1b6f2e9b6ce5902d2e7d83728233532 download/Makefile.in.diff +59755e3443f9a9c0374febf39663bf5f download/configure.diff Added: csw/mgar/pkg/zlib/trunk/files/Makefile.in.diff =================================================================== --- csw/mgar/pkg/zlib/trunk/files/Makefile.in.diff (rev 0) +++ csw/mgar/pkg/zlib/trunk/files/Makefile.in.diff 2009-03-24 00:50:52 UTC (rev 3896) @@ -0,0 +1,47 @@ +--- ../build-global/zlib-1.2.3/Makefile.in 2005-07-18 04:25:21.000000000 +0200 ++++ zlib-1.2.3/Makefile.in 2009-03-23 08:05:49.549504439 +0100 +@@ -43,7 +43,7 @@ + exec_prefix = ${prefix} + libdir = ${exec_prefix}/lib + includedir = ${prefix}/include +-mandir = ${prefix}/share/man ++mandir = ${mandir} + man3dir = ${mandir}/man3 + + OBJS = adler32.o compress.o crc32.o gzio.o uncompr.o deflate.o trees.o \ +@@ -90,23 +90,23 @@ + $(CC) $(CFLAGS) -o $@ minigzip.o $(LDFLAGS) + + install: $(LIBS) +- -...@if [ ! -d $(exec_prefix) ]; then mkdir -p $(exec_prefix); fi +- -...@if [ ! -d $(includedir) ]; then mkdir -p $(includedir); fi +- -...@if [ ! -d $(libdir) ]; then mkdir -p $(libdir); fi +- -...@if [ ! -d $(man3dir) ]; then mkdir -p $(man3dir); fi +- cp zlib.h zconf.h $(includedir) +- chmod 644 $(includedir)/zlib.h $(includedir)/zconf.h +- cp $(LIBS) $(libdir) +- cd $(libdir); chmod 755 $(LIBS) +- -@(cd $(libdir); $(RANLIB) libz.a || true) >/dev/null 2>&1 +- cd $(libdir); if test -f $(SHAREDLIBV); then \ ++ -...@if [ ! -d $(DESTDIR)$(exec_prefix) ]; then mkdir -p $(DESTDIR)$(exec_prefix); fi ++ -...@if [ ! -d $(DESTDIR)$(includedir) ]; then mkdir -p $(DESTDIR)$(includedir); fi ++ -...@if [ ! -d $(DESTDIR)$(libdir) ]; then mkdir -p $(DESTDIR)$(libdir); fi ++ -...@if [ ! -d $(DESTDIR)$(man3dir) ]; then mkdir -p $(DESTDIR)$(man3dir); fi ++ cp zlib.h zconf.h $(DESTDIR)$(includedir) ++ chmod 644 $(DESTDIR)$(includedir)/zlib.h $(DESTDIR)$(includedir)/zconf.h ++ cp $(LIBS) $(DESTDIR)$(libdir) ++ cd $(DESTDIR)$(libdir); chmod 755 $(LIBS) ++ -@(cd $(DESTDIR)$(libdir); $(RANLIB) libz.a || true) >/dev/null 2>&1 ++ cd $(DESTDIR)$(libdir); if test -f $(SHAREDLIBV); then \ + rm -f $(SHAREDLIB) $(SHAREDLIBM); \ + ln -s $(SHAREDLIBV) $(SHAREDLIB); \ + ln -s $(SHAREDLIBV) $(SHAREDLIBM); \ + (ldconfig || true) >/dev/null 2>&1; \ + fi +- cp zlib.3 $(man3dir) +- chmod 644 $(man3dir)/zlib.3 ++ cp zlib.3 $(DESTDIR)$(man3dir) ++ chmod 644 $(DESTDIR)$(man3dir)/zlib.3 + # The ranlib in install is needed on NeXTSTEP which checks file times + # ldconfig is for Linux + Added: csw/mgar/pkg/zlib/trunk/files/configure.diff =================================================================== --- csw/mgar/pkg/zlib/trunk/files/configure.diff (rev 0) +++ csw/mgar/pkg/zlib/trunk/files/configure.diff 2009-03-24 00:50:52 UTC (rev 3896) @@ -0,0 +1,11 @@ +--- ../build-global/zlib-1.2.3/configure 2005-07-11 22:11:57.000000000 +0200 ++++ zlib-1.2.3/configure 2009-03-23 08:21:07.639754073 +0100 +@@ -29,7 +29,7 @@ + exec_prefix=${exec_prefix-'${prefix}'} + libdir=${libdir-'${exec_prefix}/lib'} + includedir=${includedir-'${prefix}/include'} +-mandir=${mandir-'${prefix}/share/man'} ++#mandir=${mandir-'${prefix}/share/man'} + shared_ext='.so' + shared=0 + gcc=0 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. _______________________________________________ devel mailing list devel@lists.opencsw.org https://lists.opencsw.org/mailman/listinfo/devel