Formula for discount
discount is a C implementation of the Markup text to html language. Signed-off-by: David Höppner <0xffea@gmail.com>
This commit is contained in:
parent
4c498a56f9
commit
bef5810c65
1 changed files with 16 additions and 0 deletions
16
Formula/discount.rb
Normal file
16
Formula/discount.rb
Normal file
|
@ -0,0 +1,16 @@
|
|||
require 'formula'
|
||||
|
||||
class Discount <Formula
|
||||
url 'http://www.pell.portland.or.us/~orc/Code/markdown/discount-1.5.8.tar.gz'
|
||||
homepage 'http://www.pell.portland.or.us/~orc/Code/markdown/'
|
||||
md5 'b7a4900bedd2d75147b0b708fb6e16ed'
|
||||
|
||||
def install
|
||||
system "./configure.sh", "--prefix=#{prefix}"
|
||||
system "make"
|
||||
system "mkdir -p #{prefix}/bin"
|
||||
system "mkdir -p #{prefix}/lib"
|
||||
system "mkdir -p #{prefix}/include"
|
||||
system "make install"
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue