wok-next view ruby-sqlite3/receipt @ rev 21271
up openssl10: 1.0.2o to 1.0.2t -> soon EOL
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Sat Dec 07 12:21:21 2019 +0000 (2019-12-07) |
parents | d5aab818505e |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="ruby-sqlite3" # successor of ruby-sqlite3-ruby
4 VERSION="1.3.13"
5 CATEGORY="ruby"
6 SHORT_DESC="Ruby interface for the SQLite database engine"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://rubygems.org/gems/${PACKAGE#*-}"
10 REPOLOGY="${PACKAGE/-/:}"
12 TARBALL="${PACKAGE#*-}-$VERSION.gem"
13 WGET_URL="https://rubygems.org/downloads/$TARBALL"
15 COOKOPTS="force-arch" # arch-specific paths for gem.build_complete
17 BUILD_DEPENDS="ruby-dev sqlite3-dev"
18 SPLIT="$PACKAGE-dev"
20 compile_rules() {
21 gem install \
22 --no-document \
23 --ignore-dependencies \
24 --no-user-install \
25 --build-root $install \
26 $src/$TARBALL &&
27 fix gem
28 }
30 genpkg_rules() {
31 case $PACKAGE in
32 *-dev)
33 copy @ruby-dev
34 ;;
35 *)
36 copy @ruby
37 DEPENDS="ruby libsqlite3"
38 ;;
39 esac
40 }