wok view sqlite3-ruby/receipt @ rev 20978

glances: fix tarball
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Mar 05 17:44:19 2019 +0100 (2019-03-05)
parents e9d32d74d80b
children 1df6fa555414
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="https://rubygems.org/gems/sqlite3"
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 }