wok-next view ruby-gdbm/receipt @ rev 21111
gdbm: split to "libpkg - pkg - pkg-dev"; fix some symlinks
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jan 11 14:45:46 2019 +0200 (2019-01-11) |
parents | d5aab818505e |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="ruby-gdbm" # ruby-stdlib already provides gdbm
4 VERSION="2.0.0"
5 CATEGORY="ruby"
6 SHORT_DESC="Ruby extension for GNU dbm"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="BSD"
9 WEB_SITE="https://rubygems.org/gems/gdbm"
10 REPOLOGY="${PACKAGE/-/:}"
12 TARBALL="${PACKAGE#*-}-$VERSION.gem"
13 WGET_URL="https://rubygems.org/downloads/$TARBALL"
15 BUILD_DEPENDS="ruby-dev gdbm-dev"
17 compile_rules() {
18 gem install \
19 --no-document \
20 --ignore-dependencies \
21 --no-user-install \
22 --build-root $install \
23 $src/$TARBALL &&
24 fix gem
25 }
27 genpkg_rules() {
28 copy @ruby
29 DEPENDS="ruby libgdbm"
30 }