[csw-devel] SF.net SVN: gar:[19609] csw/mgar/pkg/unzip/trunk/Makefile

igalic at users.sourceforge.net igalic at users.sourceforge.net
Sat Nov 10 17:12:23 CET 2012


Revision: 19609
          http://gar.svn.sourceforge.net/gar/?rev=19609&view=rev
Author:   igalic
Date:     2012-11-10 16:12:23 +0000 (Sat, 10 Nov 2012)
Log Message:
-----------
unzip/trunk: update unzip package to use the knowledge from zip package

Modified Paths:
--------------
    csw/mgar/pkg/unzip/trunk/Makefile

Modified: csw/mgar/pkg/unzip/trunk/Makefile
===================================================================
--- csw/mgar/pkg/unzip/trunk/Makefile	2012-11-10 16:08:17 UTC (rev 19608)
+++ csw/mgar/pkg/unzip/trunk/Makefile	2012-11-10 16:12:23 UTC (rev 19609)
@@ -1,5 +1,6 @@
 NAME = unzip
 VERSION = 6.0
+UNZIPVERSION = $(subst .,,$(VERSION))
 CATEGORIES = utils
 GARTYPE = v2
 
@@ -7,25 +8,36 @@
 define BLURB
 endef
 
-SF_PROJ = infozip
+SF_PROJECT = infozip
 MASTER_SITES = $(SF_MIRRORS)
-DISTNAME = unzip60
+DISTNAME = $(NAME)$(UNZIPVERSION)
 DISTFILES  = $(DISTNAME).tar.gz
 
 # We define upstream file regex so we can be notifed of new upstream software release
-UFILES_REGEX = $(NAME)-(\d+(?:\.\d+)*).tar.gz
+UFILES_REGEX = $(NAME)-(\d+(?:\.\d+)*).tgz
 
 SPKG_SOURCEURL = http://www.info-zip.org/
 
 LICENSE = LICENSE
 
-CONFIGURE_SCRIPTS = $(WORKSRC)/unix/configure
-# CONFIGURE_ARGS = $(DIRPATHS)
+# zip's configure is... "special". We use a custom version
+CONFIGURE_SCRIPTS = 
 
-BUILD_SCRIPTS     = $(WORKSRC)/unix/Makefile
-BUILD_ARGS = sunos
+EXTRA_CFLAGS  = -D_FILE_OFFSET_BITS=64 -DACORN_FTYPE_NFS
+EXTRA_CFLAGS += -DWILD_STOP_AT_DIR -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT
+EXTRA_CFLAGS += -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DNO_LCHMOD -DDATE_FORMAT=DF_YMD
+EXTRA_CFLAGS += -DUSE_BZIP2 -DNATIVE
 
-TEST_SCRIPTS      = $(WORKSRC)/unix/Makefile
-INSTALL_SCRIPTS   = $(WORKSRC)/unix/Makefile
+BUILD_ARGS    = -f unix/Makefile LOCAL_UNZIP="$(CFLAGS)" LD="$(CC) $(LDFLAGS)"
+BUILD_ARGS   += LF2="" D_USE_BZ2=-DUSE_BZIP2 L_BZ2=-lbz2 unzips
+INSTALL_ARGS  = -f unix/Makefile INSTALL=ginstall BINDIR=$(DESTDIR)$(bindir) MANDIR=$(DESTDIR)$(mandir)/man1 install
 
+BUILD64 = 1
+ISAEXEC = 1
+
+LICENSE = LICENSE
+
+# There is no test suite
+TEST_SCRIPTS = 
+
 include gar/category.mk

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list