[csw-devel] SF.net SVN: gar:[14547] csw/mgar/pkg/cswutils/trunk/Makefile

bdwalton at users.sourceforge.net bdwalton at users.sourceforge.net
Sun May 8 20:51:19 CEST 2011


Revision: 14547
          http://gar.svn.sourceforge.net/gar/?rev=14547&view=rev
Author:   bdwalton
Date:     2011-05-08 18:51:19 +0000 (Sun, 08 May 2011)

Log Message:
-----------
cswutils/trunk: install ksh checkpkg as an alternative named checkpkg.legacy, add alternatives support

Modified Paths:
--------------
    csw/mgar/pkg/cswutils/trunk/Makefile

Modified: csw/mgar/pkg/cswutils/trunk/Makefile
===================================================================
--- csw/mgar/pkg/cswutils/trunk/Makefile	2011-05-08 17:46:49 UTC (rev 14546)
+++ csw/mgar/pkg/cswutils/trunk/Makefile	2011-05-08 18:51:19 UTC (rev 14547)
@@ -65,11 +65,14 @@
 CHECKPKG_OVERRIDES_CSWcswutils += file-with-bad-content|/export/medusa|root/opt/csw/lib/python/csw/package_checks_test.py
 CHECKPKG_OVERRIDES_CSWcswutils += file-with-bad-content|/export/medusa|root/opt/csw/lib/python/csw/testdata/rpaths.py
 
+ALTERNATIVES_CSWcswutils = checkpkg
+ALTERNATIVE_checkpkg = /opt/csw/bin/checkpkg checkpkg /opt/csw/bin/checkpkg.legacy 5
+
 include gar/category.mk
 
 install-custom:
 	@ginstall -d $(DESTDIR)$(bindir)
-	@ginstall $(WORKSRC)/checkpkg $(DESTDIR)$(bindir)
+	@ginstall $(WORKSRC)/checkpkg $(DESTDIR)$(bindir)/checkpkg.legacy
 	@ginstall $(WORKSRC)/cpan2pkg $(DESTDIR)$(bindir)
 	@ginstall $(WORKSRC)/createpkg $(DESTDIR)$(bindir)
 	@ginstall $(WORKSRC)/stagepkg $(DESTDIR)$(bindir)


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