wok-current view sqlite3-ruby/receipt @ rev 24374
avrdude: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 05 17:11:25 2022 +0000 (2022-02-05) |
parents | 1df6fa555414 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="sqlite3-ruby"
4 VERSION="1.4.2"
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="https://github.com/sparklemotion/sqlite3-ruby/archive/refs/tags/v$VERSION.tar.gz"
13 DEPENDS="ruby sqlite"
14 BUILD_DEPENDS="ruby ruby-dev sqlite-dev"
16 current_version()
17 {
18 wget -O - $WEB_SITE 2>/dev/null | \
19 sed '/\/versions\//!d;s|.*versions.||;s|".*||;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 ruby setup.rb config
26 ruby setup.rb setup
27 ruby setup.rb install --prefix=$DESTDIR
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr
34 cp -a $install/usr/lib $fs/usr
35 }