diff --git a/Formula/debianutils.rb b/Formula/debianutils.rb new file mode 100644 index 00000000000..60e00171c7e --- /dev/null +++ b/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