diff options
Diffstat (limited to 'homebrew/libgsm/.beer')
-rw-r--r-- | homebrew/libgsm/.beer | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/homebrew/libgsm/.beer b/homebrew/libgsm/.beer new file mode 100644 index 000000000..4e1886c6e --- /dev/null +++ b/homebrew/libgsm/.beer @@ -0,0 +1,36 @@ +{ + "name": "Libgsm", + "description": "Lossy speech compression library", + "url": "http://www.quut.com/gsm/gsm-1.0.18.tar.gz", + "mirror": null, + "homepage": "http://www.quut.com/gsm/", + "depends": [], + "resource": [], + "conflicts": [], + "patches": [ + { + "url": "https://gist.githubusercontent.com/dholm/5840964/raw/1e2bea34876b3f7583888b2284b0e51d6f0e21f4/gistfile1.txt", + "strip": "1" + } + ], + "install": [ + "ENV.append_to_cflags \"-c -O2 -DNeedFunctionPrototypes=1\"", + "bin.mkpath", + "lib.mkpath", + "include.mkpath", + "man1.mkpath", + "man3.mkpath", + "system \"make\", \"lib/libgsm.1.0.13.dylib\",", + "\"CC=#{ENV.cc}\", \"CCFLAGS=#{ENV.cflags}\",", + "\"LDFLAGS=#{ENV.ldflags}\"", + "system \"make\", \"all\",", + "\"CC=#{ENV.cc}\", \"CCFLAGS=#{ENV.cflags}\",", + "\"LDFLAGS=#{ENV.ldflags}\"", + "system \"make\", \"install\",", + "\"INSTALL_ROOT=#{prefix}\",", + "\"GSM_INSTALL_INC=#{include}\"", + "lib.install Dir[\"lib/*dylib\"]" + ], + "version": "1.0.18", + "file": "libgsm.rb" +}
\ No newline at end of file |