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

jsoncpp: fix build
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Sep 24 11:29:26 2015 +0200 (2015-09-24)
parents 4af8ad8c803b
children e9d32d74d80b
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 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tgz"
10 WEB_SITE="rubyforge.org/projects/sqlite-ruby"
11 WGET_URL="http://rubyforge.org/frs/download.php/71617/$TARBALL"
13 DEPENDS="ruby sqlite"
14 BUILD_DEPENDS="ruby ruby-dev sqlite-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ruby setup.rb config
21 ruby setup.rb setup
22 ruby setup.rb install --prefix=$DESTDIR
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $install/usr/lib $fs/usr
30 }