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

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Fri Jan 11 18:25:20 CET 2013


Revision: 20088
          http://gar.svn.sourceforge.net/gar/?rev=20088&view=rev
Author:   dmichelsen
Date:     2013-01-11 17:25:20 +0000 (Fri, 11 Jan 2013)
Log Message:
-----------
php5_ibm_db2: Initial commit

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

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

Modified: csw/mgar/pkg/php5_ibm_db2/trunk/Makefile
===================================================================
--- csw/mgar/pkg/php5_intl/trunk/Makefile	2013-01-04 22:13:40 UTC (rev 20029)
+++ csw/mgar/pkg/php5_ibm_db2/trunk/Makefile	2013-01-11 17:25:20 UTC (rev 20088)
@@ -1,24 +1,59 @@
 # $Id$
 # TODO (release-critical prefixed with !, non release-critical with *)
 #
-NAME = php5_intl
-DISTNAME = intl-$(VERSION)
-VERSION = 1.1.2
+NAME = php5_ibm_db2
+DISTNAME = ibm_db2-$(VERSION)
+VERSION = 1.9.5
 GARTYPE = v2
 
-DESCRIPTION = PHP5 Internationalization extension
-define BLURB
-The Internationalization extension exposes functionality of the ICU library to PHP.
-endef
+DESCRIPTION = IBM DB2 Extension for PHP
 
 MASTER_SITES = http://pecl.php.net/get/
 DISTFILES  = $(DISTNAME).tgz
 
-# If the url used to check for software update is different of MASTER_SITES, then 
-# uncomment the next line. Otherwise it is set by default to the value of MASTER_SITES
-# UPSTREAM_MASTER_SITES = 
+VENDOR_URL = http://pecl.php.net/package/ibm_db2
 
-CONFIGURE_ARGS = $(DIRPATHS)
+LICENSE_TEXT = This software is licensed under the Apache 2.0 license
 
+PHP_PREFIX = $(prefix)/php5
+PHP_BIN = $(PHP_PREFIX)/bin
+
+PHP5_EXT = 1
+
+PHP5ROOT    = $(DESTDIR)/$(PHP_PREFIX)
+STRIP_DIRS += $(PHP5ROOT)/lib/php/extensions/*/
+STRIP_DIRS += $(PHP5ROOT)/bin
+
+PACKAGES = CSWphp5-ibm-db2
+SPKG_DESC_CSWphp5-ibm-db2 = IBM DB2 Extension for PHP5
+RUNTIME_DEP_PKGS_CSWphp5-ibm-db2 = CSWphp5
+BUILD_DEP_PKGS += CSWapache2
+BUILD_DEP_PKGS += CSWphp5-dev
+CHECKPKG_OVERRIDES_CSWphp5-ibm-db2 += surplus-dependency|CSWphp5
+
+# Sorry, we are not allowed to ship that
+CHECKPKG_OVERRIDES_CSWphp5-ibm-db2 += bad-rpath-entry|/opt/IBM/db2/V8.1/lib/|opt/csw/php5/lib/php/extensions/no-debug-non-zts-20090626/ibm_db2.so
+CHECKPKG_OVERRIDES_CSWphp5-ibm-db2 += soname-not-found|libdb2.so.1|is|needed|by|opt/csw/php5/lib/php/extensions/no-debug-non-zts-20090626/ibm_db2.so
+
+EXTRA_CONFIGURE_EXPORTS += IBM_DB_HOME
+CONFIGURE_ENV_IBM_DB_HOME = /opt/IBM/db2/V8.1
+
+CONFIGURE_ARGS  = $(DIRPATHS)
+CONFIGURE_ARGS += --with-php-config=$(bindir)/php-config
+CONFIGURE_ARGS += --with-apxs=$(prefix)/apache2/sbin/apxs
+
+TEST_TARGET = test
+
+# The tests require a running database
+SKIPTEST ?= 1
+
+# This thing doesn't use destdir. Export install_root with the same value
+EXTRA_INSTALL_EXPORTS = INSTALL_ROOT
+INSTALL_ENV_INSTALL_ROOT = $(DESTDIR)
+
 include gar/category.mk
 
+post-extract:
+	( cd $(WORKSRC) ; $(PHP_BIN)/phpize )
+	@$(MAKECOOKIE)
+

Modified: csw/mgar/pkg/php5_ibm_db2/trunk/checksums
===================================================================
--- csw/mgar/pkg/php5_intl/trunk/checksums	2013-01-04 22:13:40 UTC (rev 20029)
+++ csw/mgar/pkg/php5_ibm_db2/trunk/checksums	2013-01-11 17:25:20 UTC (rev 20088)
@@ -1 +1 @@
-6e32eb19a8920c48f88571eb2e9d2213  intl-1.1.2.tgz
+6aa788bfd6069ff4cd3ad10158a7b6f8  ibm_db2-1.9.5.tgz

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