Commit Graph

6 Commits (f7c283e8bbbe7cb403bb919f50ecd1c99cea1806)

Author SHA1 Message Date
Max Howell 61b2307139 s/require 'brewkit'/require 'formula'/g
brewkit.rb changes ENV destructively, so lets not do that everytime a formula
is required. Now it's possible for other tools to require a formula
description without worrying about side-effects.
2009-10-15 16:48:03 +01:00
Max Howell 50760c018f Use new instance var syntax in example formula 2009-09-24 18:49:32 +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
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 3b4dac6ddd Default to patch level 1
Having gone through our patches it's clear that p1 is more standard.

Also fixed a bug where returning DATA outside of an array would fail to patch.
2009-09-16 17:08:32 +01:00
Brian Smyth 14037f255d Logrotate formula
The logrotate utility is designed to simplify the administration of log files
on a system which generates a lot of log files. Logrotate allows for the
automatic rotation compression, removal and mailing of log files. Logrotate
can be set to handle a log file daily, weekly, monthly or when the log file
gets to a certain size. Normally, logrotate runs as a daily cron job.

The package is not buildable on Darwin without including an additional
header, nor is it installable without teaching the Makefile what INSTALL
is on Darwin.

Signed-off-by: Max Howell <max@methylblue.com>

I made a number of modifications, including comma separating the make call so
that the prefix doesn't need to be escaped if it has spaces in it.

Also setting LDFLAGS to /usr/local/lib is done in brewkit.rb already. The
POPT_DIR var shouldn't be necessary either, but I haven't tested that yet.
2009-09-16 14:49:06 +01:00