Skip to content
This repository was archived by the owner on Feb 27, 2020. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions lib/autoparts/packages/sqlite3.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ module Autoparts
module Packages
class Sqlite3 < Package
name 'sqlite3'
version '3.8.2'
version '3.8.8.3'
description 'SQLite is an in-process library that implements a self-contained, serverless, zero-configuration, transactional SQL database engine.'
source_url 'http://www.sqlite.org/2013/sqlite-autoconf-3080200.tar.gz'
source_sha1 '6033ef603ce221d367c665477514d972ef1dc90e'
source_url 'https://www.sqlite.org/2015/sqlite-autoconf-3080803.tar.gz'
source_sha1 '2fe3f6226a2a08a2e814b97cd53e36bb3c597112'
source_filetype 'tar.gz'
category Category::DATA_STORES

def compile
Dir.chdir('sqlite-autoconf-3080200') do
Dir.chdir('sqlite-autoconf-3080803') do
file = File.readlines('sqlite3.c')
file.insert(0, "#define SQLITE_ENABLE_COLUMN_METADATA")
File.open('sqlite3.c', 'w') do |f|
Expand All @@ -24,7 +24,7 @@ def compile
end

def install
Dir.chdir('sqlite-autoconf-3080200') do
Dir.chdir('sqlite-autoconf-3080803') do
bin_path.mkpath
execute 'make install'
end
Expand Down