[csw-devel] proposed GAR change for ruby-dublin
Ben Walton
bwalton at opencsw.org
Tue Apr 5 02:52:33 CEST 2011
Excerpts from Ben Walton's message of Mon Apr 04 20:46:12 -0400 2011:
...actually, a few more mods are required:
Index: category.mk
===================================================================
--- category.mk (revision 14039)
+++ category.mk (working copy)
@@ -9,15 +9,15 @@
GEMFILE ?= $(GEMNAME)-$(GEMVERSION).gem
DISTFILES += $(GEMFILE)
-GEMPKGNAME ?= $(GEMNAME)
+GEMPKGNAME ?= $(GEMNAME)-$(subst .,-,$(GEMVERSION))
GEMCATALOGNAME ?= $(subst -,_,$(GEMPKGNAME))
# PACKAGES ?= CSWgem-$(GEMPKGNAME) CSWgem-$(GEMPKGNAME)-doc
-PACKAGES ?= CSWgem-$(GEMPKGNAME)
-CATALOGNAME_CSWgem-$(GEMPKGNAME) ?= gem_$(GEMCATALOGNAME)
-CATALOGNAME_CSWgem-$(GEMPKGNAME)-doc ?= gem_$(GEMCATALOGNAME)_doc
+PACKAGES ?= CSWrb18-$(GEMPKGNAME)
+CATALOGNAME_CSWrb18-$(GEMPKGNAME) ?= rb18_$(GEMCATALOGNAME)
+CATALOGNAME_rb18-$(GEMPKGNAME)-doc ?= rb18_$(GEMCATALOGNAME)_doc
-SPKG_DESC_CSWgem-$(GEMPKGNAME)-doc ?= $(or
$(SPKG_DESC_CSWgem-$(GEMPKGNAME)),$(SPKG_DESC)) documentation
+SPKG_DESC_CSWrb18-$(GEMPKGNAME)-doc ?= $(or
$(SPKG_DESC_CSWrb18-$(GEMPKGNAME)),$(SPKG_DESC)) documentation
# RUNTIME_DEP_PKGS_CSWgem-$(GEMPKGNAME) ?= $(shell gem specification
$(DOWNLOADDIR)/$(GEMFILE) | $(GARBIN)/gemdeps.rb)
@@ -68,7 +68,7 @@
include gar/gar.mk
# During the configure phase we check that all dependend modules are
available
-configure-check-gem-deps: GEM_DEPS?=$(addprefix CSWgem-,$(shell gem
specification $(DOWNLOADDIR)/$(GEMFILE) | $(GARBIN)/gemdeps.rb))
+configure-check-gem-deps: GEM_DEPS?=$(addprefix CSWrb18-,$(shell gem
specification $(DOWNLOADDIR)/$(GEMFILE) | $(GARBIN)/gemdeps.rb))
configure-check-gem-deps:
@echo "=== Checking dependencies of GEM $(GEMFILE) ==="
@$(GARBIN)/check_for_deps $(GEM_DEPS)
--
Ben Walton
Systems Programmer - CHASS
University of Toronto
C:416.407.5610 | W:416.978.4302
More information about the devel
mailing list