wok-next view ruby-ffi/receipt @ rev 21037
Small updates.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Nov 06 16:35:54 2018 +0200 (2018-11-06) |
parents | efc1e4b02968 |
children | e19ff076dc63 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="ruby-ffi"
4 VERSION="1.9.25"
5 CATEGORY="ruby"
6 SHORT_DESC="Ruby FFI library"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="MIT"
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 BUILD_DEPENDS="ruby-dev symlinks"
16 SPLIT="$PACKAGE-dev"
18 compile_rules() {
19 gem install \
20 --no-document \
21 --ignore-dependencies \
22 --no-user-install \
23 --build-root $install \
24 $src/$TARBALL &&
25 fix gem &&
26 chmod -R g-w $install &&
27 symlinks -cr $install # fix symlink contain /home/slitaz/wok/... in the target
28 }
30 genpkg_rules() {
31 case $PACKAGE in
32 *-dev)
33 copy @ruby-dev
34 ;;
35 *)
36 copy @ruby
37 DEPENDS="ruby"
38 ;;
39 esac
40 }