f384871140
0.28 replaces the hardcoded makefile with autotools, for a *much* cleaner formula. Hooray! (Note on tarballs: the -dist versions include a prebuilt configure script, while the regular numbered tarballs are just snapshots of the git repo.)
15 lines
338 B
Ruby
15 lines
338 B
Ruby
require 'formula'
|
|
|
|
class Jbig2enc < Formula
|
|
homepage 'https://github.com/agl/jbig2enc'
|
|
url 'https://github.com/agl/jbig2enc/tarball/0.28-dist'
|
|
sha1 'ef45008c223f6e4e7c014e40dd6aefa181b71d8f'
|
|
version '0.28'
|
|
|
|
depends_on 'leptonica'
|
|
|
|
def install
|
|
system "./configure", "--prefix=#{prefix}"
|
|
system "make install"
|
|
end
|
|
end
|