wok view sqlite3-ruby/receipt @ rev 25547
Up utftpd (0.2.4)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 23 12:22:34 2023 +0000 (19 months ago) |
parents | 1df6fa555414 |
children | d89a2e6e8212 |
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 }