27 lines
604 B
Plaintext
27 lines
604 B
Plaintext
# Description: Ruby bindings for SQLite3
|
|
# URL: https://github.com/sparklemotion/sqlite3-ruby
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
|
# Depends on: ruby ruby-mini_portile2 sqlite3
|
|
|
|
name=ruby-sqlite3
|
|
version=1.7.3
|
|
release=1
|
|
source=(https://rubygems.org/downloads/sqlite3-$version.gem)
|
|
|
|
build () {
|
|
gem install sqlite3 \
|
|
--ignore-dependencies \
|
|
--no-user-install \
|
|
--no-document \
|
|
--local \
|
|
--build-root $PKG \
|
|
-- \
|
|
--enable-system-libraries
|
|
|
|
cd $PKG/$(gem env gemdir)
|
|
rm -r cache doc build_info
|
|
cd gems/sqlite3-$version
|
|
rm -r ext ports test
|
|
find -maxdepth 1 -type f -delete
|
|
}
|