summaryrefslogtreecommitdiff
path: root/sqlite3-ruby/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'sqlite3-ruby/Pkgfile')
-rw-r--r--sqlite3-ruby/Pkgfile10
1 files changed, 7 insertions, 3 deletions
diff --git a/sqlite3-ruby/Pkgfile b/sqlite3-ruby/Pkgfile
index 612fa819d..d58a3e483 100644
--- a/sqlite3-ruby/Pkgfile
+++ b/sqlite3-ruby/Pkgfile
@@ -4,15 +4,19 @@
# Depends on: ruby, sqlite3
name=sqlite3-ruby
-version=1.2.4
+version=1.2.5
release=1
-source=(http://rubyforge.org/frs/download.php/42055/$name-$version.tar.bz2)
+source=(http://rubyforge.org/frs/download.php/60923/$name-$version.gem)
build() {
+ gem unpack $name-$version.gem
cd $name-$version
+ ruby ext/sqlite3_api/extconf.rb
+ make
+ make DESTDIR=$PKG install
+
ruby setup.rb config
- ruby setup.rb setup
ruby setup.rb install --prefix=$PKG
mv $PKG/usr/lib/ruby/{site_ruby,vendor_ruby}

Generated by cgit