ports/opt (3.0): sqlite3-ruby: extract sources from Gem-package
commit f33d2731783b17d09bdbafb3570a5697ed12df84 Author: Juergen Daubert <jue@jue.li> Date: Wed Feb 27 17:46:52 2013 +0100 sqlite3-ruby: extract sources from Gem-package diff --git a/sqlite3-ruby/.md5sum b/sqlite3-ruby/.md5sum index 0079871..6fb5197 100644 --- a/sqlite3-ruby/.md5sum +++ b/sqlite3-ruby/.md5sum @@ -1 +1 @@ -c0c4d97fcf4735e588ec6c6dc4bbb156 sqlite3-ruby-1.3.7.tar.xz +b8b48dc154afe949f0a44dd49565391d sqlite3-1.3.7.gem diff --git a/sqlite3-ruby/Pkgfile b/sqlite3-ruby/Pkgfile index 2db5808..e1d0d74 100644 --- a/sqlite3-ruby/Pkgfile +++ b/sqlite3-ruby/Pkgfile @@ -1,19 +1,21 @@ # Description: Interface to the SQLite DB engine -# URL: http://rubygems.org/gems/sqlite3-ruby/ +# URL: http://rubygems.org/gems/sqlite3/ # Maintainer: Juergen Daubert, jue at crux dot nu # Depends on: ruby, sqlite3 name=sqlite3-ruby version=1.3.7 -release=1 -source=(http://crux.s3.amazonaws.com/dist/$name-$version.tar.xz) +release=2 +source=(http://rubygems.org/downloads/sqlite3-$version.gem) build() { - cd $name-$version - + + bsdtar -x -f sqlite3-$version.gem + bsdtar -x -f data.tar.gz + ruby setup.rb config ruby setup.rb setup ruby setup.rb install --prefix=$PKG - mv $PKG/usr/lib/ruby/{site_ruby,vendor_ruby} + mv $PKG/usr/lib/ruby/{site,vendor}_ruby }
participants (1)
-
crux@crux.nu