SF.net SVN: gar:[26787] csw/mgar/pkg/ganglia-modules-solaris/trunk/ Makefile

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Mon Sep 13 14:39:34 CEST 2021


Revision: 26787
          http://sourceforge.net/p/gar/code/26787
Author:   dmichelsen
Date:     2021-09-13 12:39:33 +0000 (Mon, 13 Sep 2021)
Log Message:
-----------
ganglia-modules-solaris/trunk: Makefile standardized

Modified Paths:
--------------
    csw/mgar/pkg/ganglia-modules-solaris/trunk/Makefile

Modified: csw/mgar/pkg/ganglia-modules-solaris/trunk/Makefile
===================================================================
--- csw/mgar/pkg/ganglia-modules-solaris/trunk/Makefile	2021-09-13 12:15:59 UTC (rev 26786)
+++ csw/mgar/pkg/ganglia-modules-solaris/trunk/Makefile	2021-09-13 12:39:33 UTC (rev 26787)
@@ -2,14 +2,6 @@
 VERSION = 1.0.1
 GARTYPE = v2
 
-PACKAGING_PLATFORMS = solaris10-sparc solaris10-i386
-
-# Hardwired to skip the tests
-ifeq ($(VERSION),1.0)
-#TEST_TARGET = check
-TEST_SCRIPTS = 
-endif
-
 DESCRIPTION = Ganglia modules for IO and per-core CPU stats on Solaris
 define BLURB
   Ganglia is a distributed architecture for performance metrics.
@@ -20,39 +12,29 @@
 
 SF_PROJECT = gmod-solaris
 MASTER_SITES = $(SF_MIRRORS)
-DISTFILES  = $(NAME)-$(VERSION).tar.gz
-DISTFILES += $(PATCHFILES)
-#DISTFILES += COPYING
-DISTNAME = $(NAME)-$(VERSION)
+DISTFILES += $(DISTNAME).tar.gz
 
-EXTRA_DOCS = $(PATCHFILES)
-
-# We define upstream file regex so we can be notifed of new upstream software release
-UFILES_REGEX = $(NAME)-(\d+(?:\.\d+)*).tar.gz
-
-# 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 = 
-
 BUILD64_LIBS_ONLY = 1
 
-BUILD_DEP_PKGS = CSWlibapr1-0 CSWganglia-dev
+BUILD_DEP_PKGS += CSWlibapr-dev
+BUILD_DEP_PKGS += CSWganglia-dev
 
-RUNTIME_DEP_PKGS = CSWlibapr1-0 CSWgangliaagent CSWlibganglia0
+PACKAGES += CSWganglia-modules-solaris
+SPKG_DESC_CSWganglia-modules-solaris = CSWganglia-modules-solarisA
+# PKGFILES is catchall
+RUNTIME_DEP_PKGS_CSWganglia-modules-solaris += CSWlibapr1-0
+RUNTIME_DEP_PKGS_CSWganglia-modules-solaris += CSWgangliaagent
+RUNTIME_DEP_PKGS_CSWganglia-modules-solaris += CSWlibganglia0
+CHECKPKG_OVERRIDES_CSWganglia-modules-solaris += surplus-dependency|CSWlibapr1-0
+CHECKPKG_OVERRIDES_CSWganglia-modules-solaris += surplus-dependency|CSWgangliaagent
 CHECKPKG_OVERRIDES_CSWganglia-modules-solaris += surplus-dependency|CSWlibganglia0
-CHECKPKG_OVERRIDES_CSWganglia-modules-solaris += surplus-dependency|CSWgangliaagent
-CHECKPKG_OVERRIDES_CSWganglia-modules-solaris += surplus-dependency|CSWlibapr1-0
 
-PKGFILES = /opt/csw/lib/ganglia/modio.so
-PKGFILES += /opt/csw/lib/ganglia/modmulticpu.so
-PKGFILES += /etc/opt/csw/ganglia/conf.d/mod_io.conf.CSW
-PKGFILES += /etc/opt/csw/ganglia/conf.d/mod_multicpu.conf.CSW
-
-PRESERVECONF = /etc/opt/csw/ganglia/conf.d/mod_io.conf
+PRESERVECONF += /etc/opt/csw/ganglia/conf.d/mod_io.conf
 PRESERVECONF += /etc/opt/csw/ganglia/conf.d/mod_multicpu.conf
 
 CONFIGURE_ARGS = $(DIRPATHS)
-CONFIGURE_ARGS += --enable-shared --disable-nls
+CONFIGURE_ARGS += --enable-shared
+CONFIGURE_ARGS += --disable-nls
 
 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