[csw-devel] SF.net SVN: gar:[10600] csw/mgar/pkg/rb-mysql/trunk/Makefile

bdwalton at users.sourceforge.net bdwalton at users.sourceforge.net
Tue Jul 27 15:28:44 CEST 2010


Revision: 10600
          http://gar.svn.sourceforge.net/gar/?rev=10600&view=rev
Author:   bdwalton
Date:     2010-07-27 13:28:43 +0000 (Tue, 27 Jul 2010)

Log Message:
-----------
rb-mysql: a first cut at working on a ruby gem package for the mysql library

Modified Paths:
--------------
    csw/mgar/pkg/rb-mysql/trunk/Makefile

Modified: csw/mgar/pkg/rb-mysql/trunk/Makefile
===================================================================
--- csw/mgar/pkg/rb-mysql/trunk/Makefile	2010-07-27 12:14:17 UTC (rev 10599)
+++ csw/mgar/pkg/rb-mysql/trunk/Makefile	2010-07-27 13:28:43 UTC (rev 10600)
@@ -7,12 +7,21 @@
 MASTER_SITES = http://rubygems.org/downloads/
 DISTFILES  = mysql-$(GARVERSION).gem
 
+BUILD_DEP_PKGS = CSWrubygems
+RUNTIME_DEP_PKGS = CSWrubygems
+
 # We define upstream file regex so we can be notifed of new upstream software release
 UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.gz
 
 
 CONFIGURE_SCRIPTS = 
+BUILD_SCRIPTS = 
 TEST_SCRIPTS = 
 
+INSTALL_SCRIPTS = custom
 
 include gar/category.mk
+
+GEMDIR = /opt/csw/lib/ruby/gems/1.8
+install-custom:
+	( cd $(WORKSRC)/..; gem install --no-test --install-dir $(DESTDIR)$(GEMDIR) $(DISTFILES) )


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