[csw-devel] SF.net SVN: gar:[14502] csw/mgar/gar/v2/categories/rbgems/category.mk
dmichelsen at users.sourceforge.net
dmichelsen at users.sourceforge.net
Wed May 4 13:23:49 CEST 2011
Revision: 14502
http://gar.svn.sourceforge.net/gar/?rev=14502&view=rev
Author: dmichelsen
Date: 2011-05-04 11:23:49 +0000 (Wed, 04 May 2011)
Log Message:
-----------
mGAR v2: Make package names for ruby gems version specific
Modified Paths:
--------------
csw/mgar/gar/v2/categories/rbgems/category.mk
Modified: csw/mgar/gar/v2/categories/rbgems/category.mk
===================================================================
--- csw/mgar/gar/v2/categories/rbgems/category.mk 2011-05-04 11:22:48 UTC (rev 14501)
+++ csw/mgar/gar/v2/categories/rbgems/category.mk 2011-05-04 11:23:49 UTC (rev 14502)
@@ -9,7 +9,8 @@
GEMFILE ?= $(GEMNAME)-$(GEMVERSION).gem
DISTFILES += $(GEMFILE)
-GEMPKGNAME ?= $(GEMNAME)-$(subst .,-,$(GEMVERSION))
+GEMPKGVERSION ?= $(subst .,-,$(GEMVERSION))
+GEMPKGNAME ?= $(GEMNAME)-$(GEMPKGVERSION)
GEMCATALOGNAME ?= $(subst -,_,$(GEMPKGNAME))
# PACKAGES ?= CSWgem-$(GEMPKGNAME) CSWgem-$(GEMPKGNAME)-doc
@@ -76,11 +77,13 @@
@$(GARBIN)/check_for_deps $(GEM_DEPS)
@$(MAKECOOKIE)
+GEM_INSTALL_NO_TEST ?= --no-test
+
install-rbgem:
gem install \
--ignore-dependencies \
--local \
- --no-test \
+ $(GEM_INSTALL_NO_TEST) \
--install-dir $(DESTDIR)$(GEMDIR) \
$(EXTRA_GEM_INSTALL_ARGS) \
$(DOWNLOADDIR)/$(GEMFILE) \
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