aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorSébastien Gross2012-03-29 18:32:46 +0200
committerAdam Vandenberg2012-07-28 10:31:20 -0700
commit6a5325c6c0934f4e08e538b081caf05b987bb5ee (patch)
tree0767c22514382b084e0b1ac57311b9313d6167a4 /Library
parentc3fa339ec1d3795c4d36391fb923a1b5ade1d415 (diff)
downloadhomebrew-6a5325c6c0934f4e08e538b081caf05b987bb5ee.tar.bz2
debianutils 4.3.2
This formula install some useful commands provided by Debian such as: - run-parts(8) - ischroot(1) - tempfile(1) Closes #11285. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/debianutils.rb18
1 files changed, 18 insertions, 0 deletions
diff --git a/Library/Formula/debianutils.rb b/Library/Formula/debianutils.rb
new file mode 100644
index 000000000..60e00171c
--- /dev/null
+++ b/Library/Formula/debianutils.rb
@@ -0,0 +1,18 @@
+require 'formula'
+
+class Debianutils < Formula
+ homepage 'http://anonscm.debian.org/gitweb/?p=users/clint/debianutils.git'
+ url 'http://ftp.de.debian.org/debian/pool/main/d/debianutils/debianutils_4.3.2.tar.gz'
+ sha1 '704a33c90d4f74fa03e4e649737f89fcad53bee8'
+
+ def install
+ system "./configure", "--disable-dependency-tracking",
+ "--prefix=#{prefix}"
+ system "make"
+
+ # some commands are Debian Linux specific and we don't want them, so install specific tools
+ bin.install 'run-parts', 'ischroot', 'tempfile'
+ man1.install 'ischroot.1', 'tempfile.1'
+ man8.install 'run-parts.8'
+ end
+end