public
Created — forked from akrennmair/gist:842785

  • Download Gist
gistfile1.txt
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
require 'formula'
 
class Newsbeuter <Formula
url 'http://www.newsbeuter.org/downloads/newsbeuter-2.4.tar.gz'
homepage 'http://www.newsbeuter.org/'
md5 '67fd0d44a55e10ed1ba15b197262a35f'
 
depends_on 'stfl'
depends_on 'curl'
depends_on 'sqlite'
depends_on 'libxml2'
depends_on 'gettext'
 
def patches
DATA
end
 
def install
system "make"
system "make install prefix=#{prefix}"
end
end
__END__
diff --git a/config.sh b/config.sh
index 21d8d04..0b0c44c 100755
--- a/config.sh
+++ b/config.sh
@@ -80,3 +80,5 @@ check_pkg "libcurl" || check_custom "libcurl" "curl-config" || fail "libcurl"
check_pkg "libxml-2.0" || check_custom "libxml2" "xml2-config" || fail "libxml2"
check_pkg "stfl" "" "--static" || fail "stfl"
all_aboard_the_fail_boat
+echo "CXXFLAGS+=$CPPFLAGS" >> config.mk
+echo "LDFLAGS+=$LDFLAGS" >> config.mk

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.