wok-next view sqlite3-ruby/receipt @ rev 14030
Up phpvirtualbox (4.0-7)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 18 10:21:58 2013 +0100 (2013-02-18) |
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 }