Commit graph

21147 commits

Author SHA1 Message Date
Max Howell
b549e3bebf Install man pages correctly (libtiff formula) 2009-09-24 21:46:39 +01:00
Max Howell
ad5381911e Don't install .bat files (Maven formula) 2009-09-24 21:46:35 +01:00
Max Howell
50760c018f Use new instance var syntax in example formula 2009-09-24 18:49:32 +01:00
Clinton R. Nixon
d9ff92599c Added small DSL for formulas
You can now use "url", "version", "homepage", and any checksums as
class methods, like so:

    class Dos2unix <Formula
      url 'http://www.sfr-fresh.com/linux/misc/old/dos2unix-3.1.tar.gz'
      md5 '25ff56bab202de63ea6f6c211c416e96'
      homepage 'http://www.sfr-fresh.com/linux/misc/'
    end

The previous usage ("@url = 'http://example.com/tarball.tgz'") still
works, maintaining compatibility with previous formulas.

"dos2unix.rb" is translated into the new format as an example.
2009-09-23 14:51:11 -04:00
elliottcable
fc365b8f39 #caveats expects me to return a string, I don’t have to #puts it myself. 2009-09-22 13:47:40 -08:00
elliottcable
75f0bea72d No need for a @version, that is extracted from the URL 2009-09-22 13:45:11 -08:00
elliottcable
b966833a3e Building Ruby with pthread is bad practice.
Ruby is not natively threaded; there is absolutely no reason to build against
pthread unless you intend to link against libraries themselves built with
pthread (tcl/tk). More information: http://blogs.sun.com/prashant/entry/ruby_and_enable_pthreads
2009-09-22 13:21:54 -08:00
elliottcable
b66629b371 I can’t find an explanation of CFLAGS=-D_XOPEN_SOURCE=1, so I’m removing it.
As far as I can deduce, the source of that flag is in Dan Benjamin’s article,
here: http://hivelogic.com/articles/ruby-rails-leopard

However, he provides no explanation for its use, and did not respond to
commentors’ requests for said explanation; on top of that, I can find no useful
references anywhere else. Hence, removing it.
2009-09-22 13:18:38 -08:00
elliottcable
cd9ee34adf Added a Formula to install the EC2 API tools.
Unfortunately, dealing with them requires quite a bit of shell configuration.
I offered the best documentation of this configuration that I could, but it’s
fairly verbose and a bit repulsive… unfortunately, the other option (attempting
to preform the setup automatically) turns out to be even messier, and prone to
mistakes to boot.
2009-09-22 13:15:15 -08:00
elliottcable
db94cfdbd4 The bash completion stuff should go in the bash profile 2009-09-22 13:15:15 -08:00
August Lilleaas
b27582de9a Mentioning mysql.server when installing mysql, as an alternative to a start-on-boot plist. 2009-09-22 21:47:54 +02:00
Max Howell
7754e27f1f Fix readline on Snow Leopard
The patches broke the build.
2009-09-22 19:56:23 +01:00
Miikka Koskinen
ce2390f593 Add missing end to readline formula. 2009-09-22 19:56:23 +01:00
Miikka Koskinen
b1679ccfff Gnuplot formula
Gnuplot is a portable command-line driven interactive data and function
plotting utility.
2009-09-22 19:56:22 +01:00
Miikka Koskinen
ac781aab51 pwsafe formula
pwsafe is a unix commandline program that manages encrypted password
databases.
2009-09-22 19:56:22 +01:00
Brian Smyth
cff153271f Fix logrotate build.
Make the build independent of POPT_DIR. The makefile will honor it if
it's in the environment, but will use the standard env variables
otherwise.
2009-09-22 08:03:15 -04:00
Brian Smyth
dcd8571b97 Shorten formula.
Shorten reduces the size of waveform files (such as audio) using Huffman
coding of prediction residuals and optional additional quantisation. In
lossless mode the amount of compression obtained depends on the nature
of the waveform. Those composing of low frequencies and low amplitudes
give the best compression, which may be 2:1 or better. Lossy compression
operates by specifying a minimum acceptable segmental signal to noise
ratio or a maximum bit rate. Lossy compression operates by zeroing the
lower order bits of the waveform, so retaining waveform shape.
2009-09-22 08:03:15 -04:00
Max Howell
a3c29ba9cd ImageMagick install works, fixes Homebrew/homebrew#35
Careless mistake from me.
2009-09-22 10:54:27 +01:00
Max Howell
7fad0c4cf9 SDL on 10.6
Using MacPorts patch. We need their people!
2009-09-21 23:51:18 +01:00
Max Howell
a4052a9b7c ENV.cc; returns the compiler we use 2009-09-21 23:50:57 +01:00
Max Howell
965eaf5159 Revert to Ruby 1.9
Old formulas are valid, but should be maintained in a separate branch if
that's what is needed.

The exact way we are going to do this is not yet agreed on.
2009-09-21 22:02:35 +01:00
Adam Vandenberg
0d247ddb15 Don\'t delete the ScummVM default theme. 2009-09-21 13:06:21 -07:00
Adam Vandenberg
6c05463579 Update ScummVM to 1rc1 2009-09-21 13:06:21 -07:00
Adam Vandenberg
795983964a Formula for Google Protocol Buffers 2009-09-21 13:06:21 -07:00
Adam Vandenberg
2dbfac4899 Build mod_wsgi with the same arch's as Python. 2009-09-21 13:06:21 -07:00
Adam Vandenberg
79bd94dc5c Download-only formula for Perforce client. 2009-09-21 13:06:21 -07:00
Adam Vandenberg
655370f37f Don't hardcode 'gcc' in manual formulas. 2009-09-21 13:06:21 -07:00
Adam Vandenberg
26917bfcea Build Python against Readline 6 2009-09-21 13:06:20 -07:00
Adam Vandenberg
4786129c64 Apply patches to readline 6.0 2009-09-21 13:06:20 -07:00
Adam Vandenberg
1be2d31891 Add nethack formula 2009-09-21 13:05:41 -07:00
Max Howell
a5e21d9276 Automatically add keg_only? deps to relevent ENV
Eg gettext gets added into LDFLAGS, INCLUDE and that. I hope I got everything
that is typical. Prolly not. But we'll find out.

Made readline keg_only because the BSD version is provided by OS X, and I
don't want bug reports that are tricky to solve due to unexpected differences
between the two.
2009-09-21 20:23:09 +01:00
Max Howell
870514ece5 APR is provided by OS X
I broke my own rule, mockery is permitted.
2009-09-21 20:23:09 +01:00
Hunter Morris
2207b97386 Update GnuPG formula to 1.4.10 and include --disable-asm to prevent breakage 2009-09-21 19:16:20 +01:00
Max Howell
a0759ae93a Use new depends_on syntax in all formula
Many formula were imported during the development of the dependency branch.
2009-09-21 19:00:13 +01:00
Max Howell
ec4aa1f6b6 Merge branch 'deps'
Conflicts:
	Library/Formula/imagemagick.rb
	Library/Formula/taglib.rb
	Library/Homebrew/brew.h.rb
	Library/Homebrew/formula.rb
	bin/brew
2009-09-21 18:46:28 +01:00
Max Howell
c665eac117 Dependency resolution with fancy syntax
Is it a DSL? No. But people call it that apparently.

To add a dependency:

class Doe <Formula
  depends_on 'ray'
  depends_on 'mee' => :optional
  depends_on 'far' => :recommended
  depends_on Sew.new
end

Sew would be a formula you have defined in this Formula file. This is useful,
eg. see Python's formula. Formula specified in this fashion cannot be linked
into the HOMEBREW_PREFIX, they are considered private libraries. This allows
you to create custom installations that are very specific to your formula.

More features to come, like specifying versions
2009-09-21 18:27:48 +01:00
Max Howell
3225cb3841 Some renames from 0xffea's patches
I removed the gnu prefix from libidn and libunistring and I apologise because
I know I made it look like you should add this prefix on previous commits.

We add it when:

1. OS X has a non gnu equivalent pre-installed
2. The package is commonly called GNU foo, eg. GNU Go is not referred to as
   just 'Go'

I removed the core suffix from clucene as if anyone ever wants more than just
clucene teh additions should be added as variants to the clucene formula.

Otherwise first class formula, 0xffea noticed all the extra things I usually
do in cherry-picks.
2009-09-21 15:26:41 +01:00
David Höppner
81e7bcdffe GNU Libunistring
Libunistring provides functions for manipulating Unicode strings and for manipulating
C strings according to the Unicode standard.
2009-09-19 19:55:25 +02:00
David Höppner
9899458dc6 Nasm formula
Netwide Assembler: an assembler targetting the Intel x86 series of processors,
with portable source.
2009-09-19 19:54:01 +02:00
David Höppner
419e330cc3 Soprano formula
Soprano (formerly known as QRDF) is a library which provides a highly usable
object-oriented C++/Qt4 framework for RDF data. It uses different RDF storage
solutions as backends through a simple plugin system. Soprano is targetted at
desktop applications that need a RDF data storage solution. It has been optimized
for easy usage and simplicity.
2009-09-19 11:52:11 +02:00
David Höppner
45cbd143dc GNU Libidn formula
GNU Libidn is a fully documented implementation of the Stringprep, Punycode and
IDNA specifications. Libidn's purpose is to encode and decode internationalized
domain names.
2009-09-19 11:50:52 +02:00
David Höppner
a454c26358 Strigi formula
Strigi is a daemon which uses a very fast and efficient crawler that can
index data on your harddrive. Indexing operations are performed without
hammering your system, this makes Strigi the fastest and smallest desktop
searching program.
2009-09-19 11:48:25 +02:00
David Höppner
3a7d329f9e Lighttpd formula
Security, speed, compliance, and flexibility -- all of these describe lighttpd
(pron. lighty) which is rapidly redefining efficiency of a webserver; as it is
designed and optimized for high performance environments. With a small memory
footprint compared to other web-servers, effective management of the cpu-load,
and advanced feature set (FastCGI, SCGI, Auth, Output-Compression, URL-Rewriting
and many more) lighttpd is the perfect solution for every server that is suffering
load problems. And best of all it's Open Source licensed under the revised BSD
license.
2009-09-19 11:46:33 +02:00
David Höppner
8a63a7a0cc CLucene formula
CLucene is a C++ port of Lucene: the high-performance, full-featured text
search engine written in Java. CLucene is faster than lucene as it is written
in C++.
2009-09-19 11:44:26 +02:00
David Höppner
7816103dd9 Xerces-C++ formula
Xerces-C++ is a validating XML parser written in a portable subset of C++.
Xerces-C++ makes it easy to give your application the ability to read and
write XML data.
2009-09-19 11:42:30 +02:00
David Höppner
382acffc82 Redland RDF Library Formula
Redland is a set of free software C libraries that provide support for the
Resource Description Framework (RDF).
2009-09-19 11:39:40 +02:00
David Höppner
dcea5cb284 Automoc formula
KDE automatic moc generator
2009-09-19 11:37:39 +02:00
David Höppner
76de754e70 GNU Smalltalk formula
GNU Smalltalk is a free implementation of the Smalltalk-80 language.
2009-09-19 11:35:43 +02:00
David Höppner
bb25b20b2a Libgee formula
Libgee is a collection library providing GObject-based interfaces and
classes for commonly used data structures.
2009-09-19 11:33:04 +02:00
David Höppner
4a0ad60d38 Vala formula
Vala is a new programming language that aims to bring modern programming
language features to GNOME developers without imposing any additional runtime
requirements and without using a different ABI compared to applications and
libraries written in C.
2009-09-19 11:30:48 +02:00