Skip to content

Instantly share code, notes, and snippets.

require 'formula'
class Pulse < Formula
url 'git://git.0pointer.de/pulseaudio.git'
homepage 'http://live.gnome.org/PulseAudio'
end
class Pulseaudio < Formula
url 'git://github.com/zonque/PulseAudioOSX.git'
homepage 'https://github.com/zonque/PulseAudioOSX/wiki'
md5 '797ea12bbf77e05dc9df5104523f4ddd'
@gitkaste
gitkaste / gist:750453
Created December 21, 2010 19:42
gettext fat binaries
require 'formula'
class Gettext <Formula
url 'http://ftp.gnu.org/pub/gnu/gettext/gettext-0.17.tar.gz'
md5 '58a2bc6d39c0ba57823034d55d65d606'
homepage 'http://www.gnu.org/software/gettext/'
keg_only "OS X provides the BSD gettext library and some software gets confused if both are in the library path."
def patches
@gitkaste
gitkaste / gist:701879
Created November 16, 2010 14:37
newsbeuter
require 'formula'
class Newsbeuter <Formula
url 'http://www.newsbeuter.org/downloads/newsbeuter-2.2.tar.gz'
homepage 'http://www.newsbeuter.org'
md5 '2add1dfe8d3684e67ab75f0c5172c705'
depends_on 'gettext'
depends_on 'stfl'
depends_on 'pkg-config'
@gitkaste
gitkaste / gist:701858
Created November 16, 2010 14:12
stfl
require 'formula'
class Stfl <Formula
url 'http://www.clifford.at/stfl/stfl-0.20.tar.gz'
homepage 'http://www.clifford.at'
md5 '905e0b8f81fe1b5c95b8d78f56df966b'
depends_on 'ncursesw'
def patches
@gitkaste
gitkaste / install_homebrew.rb
Created November 13, 2010 09:04 — forked from mxcl/install_homebrew.markdown
fixing an aclocal issue
#!/usr/bin/ruby
#
# This script installs to /usr/local only. To install elsewhere you can just
# untar http://github.com/mxcl/homebrew/tarball/master anywhere you like.
#
#
# 30th March 2010:
# Added a check to make sure user is in the staff group. This was a problem
# for me, and I think it was due to me migrating my account over several
# versions of OS X. I cannot verify that for sure, and it was tested on
require 'formula'
class Moc <Formula
url 'ftp://ftp.daper.net/pub/soft/moc/stable/moc-2.4.4.tar.bz2'
homepage 'http://moc.daper.net'
md5 '647c770a5542a4ae5437386807a89796'
depends_on 'berkeley-db'
depends_on 'jack'
../dist/configure --disable-debug --prefix=/usr/local/Cellar/berkeley-db/5.1.19 --mandir=/usr/local/Cellar/berkeley-db/5.1.19/share/man --enable-cxx --enable-java
checking build system type... x86_64-apple-darwin10.4.0
checking host system type... x86_64-apple-darwin10.4.0
checking if building in the top-level or dist directories... no
checking if --enable-smallbuild option specified... no
checking if --disable-atomicsupport option specified... no
checking if --disable-compression option specified... no
checking if --disable-hash option specified... no
checking if --disable-mutexsupport option specified... no
checking if --disable-partition option specified... no
ln -s .libs/libdb_cxx-5.1.a libdb_cxx.a
./libtool --mode=compile /usr/bin/cc -c -I. -I../src -march=core2 -w -pipe -O3 -fno-strict-aliasing ../lang/java/libdb_java/db_java_wrap.c
libtool: compile: /usr/bin/cc -c -I. -I../src -march=core2 -w -pipe -O3 -fno-strict-aliasing ../lang/java/libdb_java/db_java_wrap.c -fno-common -DPIC -o .libs/db_java_wrap.o
../lang/java/libdb_java/db_java_wrap.c:137:17: error: jni.h: No such file or directory
../lang/java/libdb_java/db_java_wrap.c:161: error: expected ‘)’ before ‘*’ token
../lang/java/libdb_java/db_java_wrap.c:211: error: expected ‘)’ before ‘*’ token
../lang/java/libdb_java/db_java_wrap.c:215: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
../lang/java/libdb_java/db_java_wrap.c:217: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘db_class’
../lang/java/libdb_java/db_java_wrap.c:218: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘dbpreplist_class’
../lang/java/libdb_java/db_java_wrap.c:219: error: expec