aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorPiotr Usewicz2009-10-06 21:47:30 +0100
committerMax Howell2009-10-12 17:26:28 +0100
commit1666b6ae65851f63bd7789955db93954158c61b5 (patch)
treed998a685e90166945b03d567094d1bea059134b2 /Library/Formula
parent7e77f97ba5eeb5ea9b4bdcd0c363e2f089669545 (diff)
downloadhomebrew-1666b6ae65851f63bd7789955db93954158c61b5.tar.bz2
Beanstalk Formula
Beanstalk is a simple, fast workqueue service. Its interface is generic, but was originally designed for reducing the latency of page views in high-volume web applications by running time-consuming tasks asynchronously. Signed-off-by: Max Howell <max@methylblue.com> I changed it to beanstalk.rb as that's how they refer to it in general.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/beanstalk.rb16
1 files changed, 16 insertions, 0 deletions
diff --git a/Library/Formula/beanstalk.rb b/Library/Formula/beanstalk.rb
new file mode 100644
index 000000000..a99476f7c
--- /dev/null
+++ b/Library/Formula/beanstalk.rb
@@ -0,0 +1,16 @@
+require 'brewkit'
+
+# TODO alias: beanstalkd
+
+class Beanstalk <Formula
+ url 'http://xph.us/dist/beanstalkd/beanstalkd-1.4.tar.gz'
+ md5 'eea47c86c722c4448087fb28be7357cd'
+ homepage 'http://xph.us/software/beanstalkd/'
+
+ depends_on 'libevent'
+
+ def install
+ system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
+ system "make install"
+ end
+end