[csw-devel] SF.net SVN: gar:[5715] csw/mgar/pkg

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Wed Jul 29 20:59:16 CEST 2009


Revision: 5715
          http://gar.svn.sourceforge.net/gar/?rev=5715&view=rev
Author:   wahwah
Date:     2009-07-29 18:59:16 +0000 (Wed, 29 Jul 2009)

Log Message:
-----------
unixodbc: Initial commit

Modified Paths:
--------------
    csw/mgar/pkg/unixodbc/trunk/Makefile
    csw/mgar/pkg/unixodbc/trunk/checksums

Added Paths:
-----------
    csw/mgar/pkg/unixodbc/

Modified: csw/mgar/pkg/unixodbc/trunk/Makefile
===================================================================
--- csw/mgar/pkg/template/trunk/Makefile	2009-07-29 16:52:59 UTC (rev 5714)
+++ csw/mgar/pkg/unixodbc/trunk/Makefile	2009-07-29 18:59:16 UTC (rev 5715)
@@ -2,27 +2,48 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-GARNAME = mypkg
-GARVERSION = 1.0
+GARNAME = unixodbc
+GARVERSION = 2.2.14
 CATEGORIES = lib
 
-DESCRIPTION = This is a useful library
+DESCRIPTION = ODBC drivers for Unix systems
 define BLURB
   It does stuff with things
 endef
 
-MASTER_SITES = 
-DISTFILES  = $(GARNAME)-$(GARVERSION).tar.gz
+DL_NAME = unixODBC
 
+MASTER_SITES = http://www.unixodbc.org/
+DISTFILES  = $(DL_NAME)-$(GARVERSION).tar.gz
+WORKSRC = $(WORKDIR)/$(DL_NAME)-$(GARVERSION)
+
 # We define upstream file regex so we can be notifed of new upstream software release
 UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.gz
 
-CONFIGURE_ARGS = $(DIRPATHS)
+SPKG_CLASSES = none cswcpsampleconf
 
-# Remove the following rules and uncomment the
-# include before building.
-all: .DEFAULT
-.DEFAULT:
-	@true
+REQUIRED_PKGS  = CSWlibiconv
+REQUIRED_PKGS += CSWreadline
+REQUIRED_PKGS += CSWcswclassutils
 
-#include gar/category.mk
+sysconfdir = /etc/opt/csw
+localstatedir = /var/opt/csw
+
+CONFIGURE_ARGS = $(DIRPATHS)  --enable-gui=no
+
+PROTOTYPE_FILTER  = awk ' \
+    $$$$3 ~ /\/etc\/opt\/csw\/.*\.CSW$$$$/ { $$$$2 = "cswcpsampleconf" } \
+    { print }'
+
+
+TEST_SCRIPTS =
+
+post-install-modulated:
+	(cd $(DESTDIR)$(sysconfdir); \
+	for f in ODBCDataSources odbc.ini odbcinst.ini; do \
+		mv "$${f}" "$${f}.CSW"; \
+	done)
+	@$(MAKECOOKIE)
+
+
+include gar/category.mk

Modified: csw/mgar/pkg/unixodbc/trunk/checksums
===================================================================
--- csw/mgar/pkg/template/trunk/checksums	2009-07-29 16:52:59 UTC (rev 5714)
+++ csw/mgar/pkg/unixodbc/trunk/checksums	2009-07-29 18:59:16 UTC (rev 5715)
@@ -0,0 +1 @@
+f47c2efb28618ecf5f33319140a7acd0  download/unixODBC-2.2.14.tar.gz


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