Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

New formula: rand 1.8 #11555

Closed
wants to merge 17 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
17 changes: 17 additions & 0 deletions Library/Formula/rand.rb
@@ -0,0 +1,17 @@
require 'formula'

class Rand < Formula
homepage 'http://www.elfga.com/~erik/'
url 'http://www.elfga.com/~erik/files/rand-1.8.tar.bz2'
md5 'b05fb52321811a4d120faa297ee1e375'

def install
system "./configure", "--prefix=#{prefix}", "--mandir=#{man}"
system "make install"
end

def test
system "/bin/ls | #{prefix}/bin/rand"
end

end
14 changes: 14 additions & 0 deletions Library/Formula/vp.rb
@@ -0,0 +1,14 @@
require 'formula'

class Vp < Formula
homepage 'http://www.elfga.com/~erik/'
url 'http://www.elfga.com/~erik/files/vp-1.7.tar.gz'
md5 '5caf42e831b036ca52fa55e944951033'

depends_on 'sdl_image'

def install
system "./configure", "--prefix=#{prefix}", "--mandir=#{man}"
system "make install"
end
end