2019-03-08 15:16:37 +01:00
|
|
|
# Description: Ruby bindings for SQLite3
|
2022-01-12 14:37:19 +01:00
|
|
|
# URL: https://github.com/sparklemotion/sqlite3-ruby
|
|
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
2022-09-12 15:28:41 +02:00
|
|
|
# Depends on: ruby ruby-mini_portile2 sqlite3
|
2019-03-08 15:16:37 +01:00
|
|
|
|
|
|
|
name=ruby-sqlite3
|
2023-12-29 15:50:36 +01:00
|
|
|
version=1.7.0
|
2024-01-05 12:54:40 +01:00
|
|
|
release=2
|
2020-07-29 13:26:35 +02:00
|
|
|
source=(https://rubygems.org/downloads/sqlite3-$version.gem)
|
2019-03-08 15:16:37 +01:00
|
|
|
|
|
|
|
build () {
|
2020-07-29 13:26:35 +02:00
|
|
|
gem install sqlite3 \
|
|
|
|
--ignore-dependencies \
|
|
|
|
--no-user-install \
|
|
|
|
--no-document \
|
|
|
|
--local \
|
2022-09-12 15:28:41 +02:00
|
|
|
--build-root $PKG \
|
|
|
|
-- \
|
|
|
|
--enable-system-libraries
|
2020-07-29 13:26:35 +02:00
|
|
|
|
|
|
|
cd $PKG/$(gem env gemdir)
|
|
|
|
rm -r cache doc build_info
|
2022-07-12 15:00:50 +02:00
|
|
|
cd gems/sqlite3-$version
|
2023-08-28 13:17:00 +02:00
|
|
|
rm -r ext ports test
|
2022-09-12 15:28:41 +02:00
|
|
|
find -maxdepth 1 -type f -delete
|
2019-03-08 15:16:37 +01:00
|
|
|
}
|