wok-6.x view sqlite3-ruby/receipt @ rev 8060

Add: sqlite3-ruby
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Fri Jan 21 01:07:16 2011 +0100 (2011-01-21)
parents
children 2a5cc8208d36
line source
1 # SliTaz package receipt.
3 PACKAGE="sqlite3-ruby"
4 VERSION="1.3.1"
5 CATEGORY="development"
6 SHORT_DESC="Ruby interface for the SQLite database engine"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="ruby sqlite"
9 BUILD_DEPENDS="ruby ruby-dev sqlite-dev"
10 TARBALL="$PACKAGE-$VERSION.tgz"
11 WEB_SITE="rubyforge.org/projects/sqlite-ruby"
12 WGET_URL="http://rubyforge.org/frs/download.php/71617/sqlite3-ruby-1.3.1.tgz"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ruby setup.rb config
19 ruby setup.rb setup
20 ruby setup.rb install --prefix=$PWD/_pkg
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr
27 cp -a $_pkg/usr/lib $fs/usr
28 }