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

valholla at users.sourceforge.net valholla at users.sourceforge.net
Wed Feb 18 03:30:24 CET 2009


Revision: 3202
          http://gar.svn.sourceforge.net/gar/?rev=3202&view=rev
Author:   valholla
Date:     2009-02-18 02:30:24 +0000 (Wed, 18 Feb 2009)

Log Message:
-----------
testing version

Modified Paths:
--------------
    csw/mgar/pkg/php5_mbstring/Makefile
    csw/mgar/pkg/php5_mbstring/checksums

Modified: csw/mgar/pkg/php5_mbstring/Makefile
===================================================================
--- csw/mgar/pkg/php5_mbstring/Makefile	2009-02-18 02:30:01 UTC (rev 3201)
+++ csw/mgar/pkg/php5_mbstring/Makefile	2009-02-18 02:30:24 UTC (rev 3202)
@@ -1,14 +1,14 @@
-GARNAME = php5
+GARNAME = php
 GARVERSION = 5.2.6
 CATEGORIES = lang
 PHP5EXT_NAME = mbstring
 
-DESCRIPTION = mbstring Extention for PHP
+DESCRIPTION = $(PHP5EXT_NAME) Extention for PHP
 define BLURB
-   mbstring Extention for PHP
+   $(PHP5EXT_NAME) Extention for PHP
 endef
 
-WORKSRC = $(WORKSRC)/ext/$(PHP5EXT_NAME)
+WORKSRC = $(WORKDIR)/$(GARNAME)-$(GARVERSION)/ext/$(PHP5EXT_NAME)
 
 INSTALL_ENV += INSTALL_ROOT=$(DESTDIR)
 PHP_PREFIX = $(prefix)/php5
@@ -19,7 +19,7 @@
 STRIP_DIRS += $(PHP5ROOT)/bin
 
 
-PACKAGES = CSWphp5mbstring
+PACKAGES = CSWphp5$(PHP5EXT_NAME)
 
 MASTER_SITES = http://www.php.net/releases/
 SPKG_SOURCEURL = http://www.php.net/get/
@@ -27,9 +27,9 @@
 
 DISTFILES = $(DISTNAME).tar.bz2
 
-CATALOGNAME_CSWphp5xdebug = php5_mbstring
-SPKG_DESC_CSWphp5xdebug = mbstring Extention for PHP5
-REQUIRED_PKGS_CSWphp5xdebug = CSWphp5
+CATALOGNAME_CSWphp5$(PHP5EXT_NAME) = php5_$(PHP5EXT_NAME)
+SPKG_DESC_CSWphp5$(PHP5EXT_NAME) = $(PHP5EXT_NAME) Extention for PHP5
+REQUIRED_PKGS_CSWphp5$(PHP5EXT_NAME) = CSWphp5
 
 CONFIGURE_ARGS  = $(DIRPATHS)
 CONFIGURE_ARGS += --with-php-config=$(PHP_BIN)/php-config
@@ -38,7 +38,12 @@
 	@( cd $(WORKSRC) ; $(PHP_BIN)/phpize )
 	$(DONADA)
 
-# There are no test scripts
-TEST_SCRIPTS =
+TEST_SCRIPTS = testme
 
+test-testme:
+	@( TEST_PHP_EXECUTABLE=$(PHP_BIN)/php; export TEST_PHP_EXECUTABLE; \
+		cd $(WORKSRC); $(PHP_BIN)/php ./run-tests.php -q )
+	$(DONADA)
+
+
 include gar/category.mk

Modified: csw/mgar/pkg/php5_mbstring/checksums
===================================================================
--- csw/mgar/pkg/php5_mbstring/checksums	2009-02-18 02:30:01 UTC (rev 3201)
+++ csw/mgar/pkg/php5_mbstring/checksums	2009-02-18 02:30:24 UTC (rev 3202)
@@ -0,0 +1 @@
+7380ffecebd95c6edb317ef861229ebd  download/php-5.2.6.tar.bz2


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