wok annotate sqlite3-ruby/receipt @ rev 24793
updated libgpg-error and libgpg-error-dev (1.37 -> 1.44)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 21 15:45:38 2022 +0100 (2022-03-21) |
parents | 1df6fa555414 |
children | d89a2e6e8212 |
rev | line source |
---|---|
erjo@8060 | 1 # SliTaz package receipt. |
erjo@8060 | 2 |
erjo@8060 | 3 PACKAGE="sqlite3-ruby" |
pascal@24296 | 4 VERSION="1.4.2" |
erjo@8060 | 5 CATEGORY="development" |
erjo@8060 | 6 SHORT_DESC="Ruby interface for the SQLite database engine" |
erjo@8060 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15379 | 8 LICENSE="BSD" |
pascal@15379 | 9 TARBALL="$PACKAGE-$VERSION.tgz" |
pascal@20682 | 10 WEB_SITE="https://rubygems.org/gems/sqlite3" |
pascal@24296 | 11 WGET_URL="https://github.com/sparklemotion/sqlite3-ruby/archive/refs/tags/v$VERSION.tar.gz" |
pascal@15379 | 12 |
erjo@8060 | 13 DEPENDS="ruby sqlite" |
erjo@8060 | 14 BUILD_DEPENDS="ruby ruby-dev sqlite-dev" |
erjo@8060 | 15 |
pascal@24288 | 16 current_version() |
pascal@24288 | 17 { |
pascal@24288 | 18 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24288 | 19 sed '/\/versions\//!d;s|.*versions.||;s|".*||;q' |
pascal@24288 | 20 } |
pascal@24288 | 21 |
erjo@8060 | 22 # Rules to configure and make the package. |
erjo@8060 | 23 compile_rules() |
erjo@8060 | 24 { |
erjo@8060 | 25 ruby setup.rb config |
erjo@8060 | 26 ruby setup.rb setup |
pascal@15379 | 27 ruby setup.rb install --prefix=$DESTDIR |
erjo@8060 | 28 } |
erjo@8060 | 29 |
erjo@8060 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@8060 | 31 genpkg_rules() |
erjo@8060 | 32 { |
erjo@8060 | 33 mkdir -p $fs/usr |
pascal@15379 | 34 cp -a $install/usr/lib $fs/usr |
erjo@8060 | 35 } |