[csw-devel] proposed GAR change for ruby-dublin

Ben Walton bwalton at opencsw.org
Tue Apr 5 02:46:12 CEST 2011


Hi All,

I'm proposing the following change to the rbgems category to meet the
ruby-dublin[1] proposal.

An example package name is: CSWrb18-libxml-ruby-1-1-4
This represents the libxml-ruby gem at version 1.1.4 as built for ruby
1.8.

Thanks
-Ben

Index: categories/rbgems/category.mk
===================================================================
--- categories/rbgems/category.mk       (revision 14039)
+++ categories/rbgems/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) ?= gem_$(GEMCATALOGNAME)
+CATALOGNAME_rb18-$(GEMPKGNAME)-doc ?= gem_$(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)

[1] http://wiki.opencsw.org/ruby-dublin
--
Ben Walton
Systems Programmer - CHASS
University of Toronto
C:416.407.5610 | W:416.978.4302



More information about the devel mailing list