[Freeswitch-branches] [commit] r2608 - freeswitch/branches/docelmo/trunk/src/mod/languages/mod_ruby

Freeswitch SVN docelmo at freeswitch.org
Sun Sep 10 02:08:33 EDT 2006


Author: docelmo
Date: Sun Sep 10 02:08:32 2006
New Revision: 2608

Modified:
   freeswitch/branches/docelmo/trunk/src/mod/languages/mod_ruby/Makefile

Log:
Fix package download

Modified: freeswitch/branches/docelmo/trunk/src/mod/languages/mod_ruby/Makefile
==============================================================================
--- freeswitch/branches/docelmo/trunk/src/mod/languages/mod_ruby/Makefile	(original)
+++ freeswitch/branches/docelmo/trunk/src/mod/languages/mod_ruby/Makefile	Sun Sep 10 02:08:32 2006
@@ -3,8 +3,11 @@
 RBMOD=freeswitch
 LDFLAGS=-lruby-static -L/usr/local/lib/ 
 
-all:	$(MODNAME).$(DYNAMIC_LIB_EXTEN) $(RBMOD).$(DYNAMIC_LIB_EXTEN)
+all:	depends $(MODNAME).$(DYNAMIC_LIB_EXTEN) $(RBMOD).$(DYNAMIC_LIB_EXTEN)
 	
+depends:
+	MAKE=$(MAKE) $(BASE)/build/buildlib.sh $(BASE) install ruby-1.8.5.tar.gz --prefix=$(PREFIX)
+
 %.o:  %.c
 	$(CC) $(LCFLAGS) $(CFLAGS) -c $< -o $@
 



More information about the Freeswitch-branches mailing list