homebrew-core/Formula/mpack.rb
Dominyk Tiller 781abee841 formulae: migrate patches (part 2)
madplay: migrate patch
makeicns: migrate patch
mp3info: migrate patch
mpack: migrate patch
newt: migrate patch
nvi: migrate patches
ogmtools: migrate patch
orbit: migrate patches
pdf2htmlex: reference secure link
pdksh: migrate patch
povray: migrate patches
proctools: migrate patches
pulseaudio: migrate patch
sbcl: migrate patches
swftools: migrate patch
tinyproxy: migrate patch
tinysvm: migrate patch
trafshow: migrate patches
uudeview: migrate patch
webfs: migrate patch
wordplay: migrate patch
xsane: migrate patch
2015-10-07 20:36:35 +01:00

18 lines
654 B
Ruby

class Mpack < Formula
desc "MIME mail packing and unpacking"
homepage "http://ftp.andrew.cmu.edu/pub/mpack/"
url "http://ftp.andrew.cmu.edu/pub/mpack/mpack-1.6.tar.gz"
sha256 "274108bb3a39982a4efc14fb3a65298e66c8e71367c3dabf49338162d207a94c"
# Fix missing return value; clang refuses to compile otherwise
patch :p0 do
url "https://raw.githubusercontent.com/Homebrew/patches/1ad38a9c/mpack/uudecode.c.patch"
sha256 "52ad1592ee4b137cde6ddb3c26e3541fa0dcea55c53ae8b37546cd566c897a43"
end
def install
system "./configure", "--prefix=#{prefix}",
"--mandir=#{man}"
system "make", "install"
end
end