SF.net SVN: gar:[22902] csw/mgar/pkg/mirmon/trunk/Makefile
dmichelsen at users.sourceforge.net
dmichelsen at users.sourceforge.net
Mon Jan 27 20:59:52 CET 2014
Revision: 22902
http://sourceforge.net/p/gar/code/22902
Author: dmichelsen
Date: 2014-01-27 19:59:51 +0000 (Mon, 27 Jan 2014)
Log Message:
-----------
mirmon/trunk: Path adjustments, split off Perl module
Modified Paths:
--------------
csw/mgar/pkg/mirmon/trunk/Makefile
Modified: csw/mgar/pkg/mirmon/trunk/Makefile
===================================================================
--- csw/mgar/pkg/mirmon/trunk/Makefile 2014-01-27 14:46:24 UTC (rev 22901)
+++ csw/mgar/pkg/mirmon/trunk/Makefile 2014-01-27 19:59:51 UTC (rev 22902)
@@ -18,16 +18,42 @@
# PKGFILES is catchall
ARCHALL_CSWmirmon = 1
RUNTIME_DEP_PKGS_CSWmirmon += CSWperl
+RUNTIME_DEP_PKGS_CSWmirmon += CSWrsync
+RUNTIME_DEP_PKGS_CSWmirmon += CSWwget
+CHECKPKG_OVERRIDES_CSWmirmon += surplus-dependency|CSWperl
+CHECKPKG_OVERRIDES_CSWmirmon += surplus-dependency|CSWrsync
+CHECKPKG_OVERRIDES_CSWmirmon += surplus-dependency|CSWwget
+PACKAGES += CSWpm-mirmon
+SPKG_DESC_CSWpm-mirmon = OO interface for mirmon objects
+PKGFILES_CSWpm-mirmon += $(bindir)/mirmon.pl
+PKGFILES_CSWpm-mirmon += $(sharedstatedir)/perl/.*
+RUNTIME_DEP_PKGS_CSWpm-mirmon += CSWperl
+
# These are just examples
CHECKPKG_OVERRIDES_CSWmirmon += file-with-bad-content|/usr/local|root/opt/csw/bin/mirmon
-CHECKPKG_OVERRIDES_CSWmirmon += file-with-bad-content|/usr/local|root/opt/csw/bin/mirmon.pl
+CHECKPKG_OVERRIDES_CSWpm-mirmon += file-with-bad-content|/usr/local|root/opt/csw/bin/mirmon.pl
REINPLACEMENTS += perl
REINPLACE_MATCH_perl = /usr/bin/perl
REINPLACE_WITH_perl = $(bindir)/perl
REINPLACE_FILES_perl = *
+REINPLACEMENTS += wget
+REINPLACE_MATCH_wget = /usr/bin/wget
+REINPLACE_WITH_wget = $(bindir)/wget
+REINPLACE_FILES_wget += probe
+
+REINPLACEMENTS += rsync
+REINPLACE_MATCH_rsync = /usr/bin/rsync
+REINPLACE_WITH_rsync = $(bindir)/rsync
+REINPLACE_FILES_rsync += probe
+
+REINPLACEMENTS += mirmonpm
+REINPLACE_MATCH_mirmonpm = \\'\\.\\'
+REINPLACE_WITH_mirmonpm = \\'$(sharedstatedir)/perl/csw\\'
+REINPLACE_FILES_mirmonpm += mirmon.pl
+
CONFIGURE_SCRIPTS =
BUILD_SCRIPTS =
TEST_SCRIPTS =
@@ -44,4 +70,6 @@
cd $(WORKSRC) && ginstall -m 0644 mirmon.1 mirmon.pm.1 $(PKGROOT)$(mandir)/man1
ginstall -d $(PKGROOT)$(sharedstatedir)/mirmon
cd $(WORKSRC) && cp -r countries.list icons $(PKGROOT)$(sharedstatedir)/mirmon
+ ginstall -d $(PKGROOT)$(sharedstatedir)/perl/csw
+ cd $(WORKSRC) && cp -r Mirmon.pm $(PKGROOT)$(sharedstatedir)/perl/csw
@$(MAKECOOKIE)
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