Permalink
Browse files

Add sqlite 3.7.14 recipe

  • Loading branch information...
1 parent 4c8c85e commit 14886ebb36f0156542db916d156c216f68dae29a @luislavena luislavena committed Sep 7, 2012
Showing with 12 additions and 0 deletions.
  1. +12 −0 sqlite/sqlite-3.7.14.knapfile
@@ -0,0 +1,12 @@
+recipe "sqlite", "3.7.14" do
+ use :autotools
+
+ fetch "http://distfiles.openknapsack.org/#{name}/#{name}-autoconf-3071400.tar.gz",
+ :md5 => "6464d429b1396a8db35864e791673b65"
+
+ before :configure do
+ cflags = "-O2 -DSQLITE_ENABLE_COLUMN_METADATA"
+ cflags << " -fPIC" if platform.x64? && !platform.mingw?
+ options.configure_args << "CFLAGS='#{cflags}'"
+ end
+end

0 comments on commit 14886eb

Please sign in to comment.