2009-11-19 03:49:34 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Bazaar < Formula
|
2012-02-12 18:54:28 +00:00
|
|
|
homepage 'http://bazaar-vcs.org/'
|
2012-05-31 17:25:26 +00:00
|
|
|
url 'https://launchpad.net/bzr/2.5/2.5.1/+download/bzr-2.5.1.tar.gz'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '7e2776e3aaf8fb48828026d3fc2a3047465eea5e'
|
2010-08-02 00:43:47 +00:00
|
|
|
|
2013-06-13 00:25:17 +00:00
|
|
|
devel do
|
|
|
|
url 'https://launchpad.net/bzr/2.6/2.6b2/+download/bzr-2.6b2.tar.gz'
|
|
|
|
sha1 'f10e193bc18096ee82dd923a424df2b086f95c4c'
|
|
|
|
end
|
|
|
|
|
2013-01-21 09:33:56 +00:00
|
|
|
depends_on :python
|
2010-08-01 22:16:52 +00:00
|
|
|
|
2009-11-19 03:49:34 +00:00
|
|
|
def install
|
2011-01-21 04:38:53 +00:00
|
|
|
# Make and install man page first
|
|
|
|
system "make man1/bzr.1"
|
|
|
|
man1.install "man1/bzr.1"
|
|
|
|
|
2013-01-21 09:33:56 +00:00
|
|
|
python do
|
|
|
|
# In this python block, the site-packages are already set up
|
|
|
|
system python, "setup.py", "install", "--prefix=#{prefix}"
|
|
|
|
(prefix/'man').rmtree
|
2011-03-19 16:49:39 +00:00
|
|
|
end
|
2010-04-02 00:57:38 +00:00
|
|
|
end
|
2010-01-19 14:41:25 +00:00
|
|
|
|
2009-11-19 03:49:34 +00:00
|
|
|
end
|