require 'formula' class Asterisk = 10.6 system "./configure", *configure_flags system "make" system "make install" (etc+"asterisk").mkpath end end # Use cURL instead of wget __END__ --- a/sounds/Makefile 2009-10-13 02:12:08.000000000 +0300 +++ b/sounds/Makefile 2009-10-13 02:15:11.000000000 +0300 @@ -53,10 +53,8 @@ MM:=$(subst -SLN16,-sln16,$(MM)) MOH:=$(MM:MOH-%=asterisk-moh-%.tar.gz) MOH_TAGS:=$(MM:MOH-%=$(MOH_DIR)/.asterisk-moh-%) -# If "fetch" is used, --continue is not a valid option. -ifeq ($(WGET),wget) -WGET_ARGS:=--continue -endif +DOWNLOAD:=curl +WGET_ARGS:=-O all: $(CORE_SOUNDS) $(EXTRA_SOUNDS) $(MOH)