First set up a project directory to hold your work:
cd ~/projects
mkdir mapnik-ios-test
cd mapnik-ios-test
require 'formula' | |
class Xvid < Formula | |
url 'https://fossies.org/unix/privat/xvidcore-1.3.2.tar.gz' | |
homepage 'https://fossies.org' | |
sha1 '56e065d331545ade04c63c91153b9624b51d6e1b' | |
def install | |
cd 'build/generic' do | |
system "./configure", "--disable-assembly", "--prefix=#{prefix}" |