[csw-devel] SF.net SVN: gar:[14239] csw/mgar/pkg/php5/trunk/Makefile
bdwalton at users.sourceforge.net
bdwalton at users.sourceforge.net
Sun Apr 17 02:31:41 CEST 2011
Revision: 14239
http://gar.svn.sourceforge.net/gar/?rev=14239&view=rev
Author: bdwalton
Date: 2011-04-17 00:31:41 +0000 (Sun, 17 Apr 2011)
Log Message:
-----------
php5/trunk: add a function to dynamically generate entries for subpackages
Modified Paths:
--------------
csw/mgar/pkg/php5/trunk/Makefile
Modified: csw/mgar/pkg/php5/trunk/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/Makefile 2011-04-17 00:01:51 UTC (rev 14238)
+++ csw/mgar/pkg/php5/trunk/Makefile 2011-04-17 00:31:41 UTC (rev 14239)
@@ -39,6 +39,16 @@
# this one is filed upstream: http://bugs.php.net/bug.php?id=54318
PATCHFILES += 0002-Correct-non-portable-use-of-grep-q-in-configure.patch
+define php5_subpackage
+PACKAGES += CSWphp5-$(1)
+CATALOGNAME_CSWphp5-$(1) ?= php5_$(1)
+SPKG_DESC_CSWphp5-$(1) ?= The $(1) extention for PHP5
+RUNTIME_DEP_PKGS_CSWphp5-$(1) ?= CSWphp5
+OBSOLETED_BY_CSWphp5-$(1) ?= CSWphp5$(1)
+PKGFILES_CSWphp5-$(1) ?= .*lib/php/extensions/.*$(1).* .*php5/extensions/$(1)
+CHECKPKG_OVERRIDES_CSWphp5-$(1) += surplus-dependency|CSWphp5
+endef
+
PACKAGES = CSWphp5 CSWphp5-dev
PACKAGES += CSWap2-modphp5
PACKAGES += CSWphp5-bcmath
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