Commit ba4704e2 authored by lyxell's avatar lyxell Committed by GitHub

Merge pull request #453 from cstrouse/update-diffutils

Update diffutils to 3.5
parents 1245152a 009846ad
require 'package'
class Diffutils < Package
version '3.3'
source_url 'ftp://ftp.gnu.org/gnu/diffutils/diffutils-3.3.tar.xz'
source_sha1 '6463cce7d3eb73489996baefd0e4425928ecd61e'
version '3.5'
source_url 'ftp://ftp.gnu.org/gnu/diffutils/diffutils-3.5.tar.xz'
source_sha1 '1169cce8eaaf7290dc087d65db7ed75de0dceb93'
depends_on "libsigsegv"
def self.build
system "sed -i -e '/gets is a/d' lib/stdio.in.h" # fixes an error, credit to http://www.linuxfromscratch.org/lfs/view/7.3/chapter05/diffutils.html
system "sed -i 's:= @mkdir_p@:= /bin/mkdir -p:' po/Makefile.in.in" # http://www.linuxfromscratch.org/lfs/view/development/chapter06/diffutils.html
system "./configure --prefix=/usr/local"
system "make"
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment