wok-next view ruby-ffi/receipt @ rev 20917
freetype: return freetype-config back
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Aug 21 11:44:50 2018 +0300 (2018-08-21) |
parents | |
children | d5aab818505e |
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 HOST_ARCH="i486 x86_64"
11 REPOLOGY="${PACKAGE/-/:}"
13 TARBALL="${PACKAGE#*-}-$VERSION.gem"
14 WGET_URL="https://rubygems.org/downloads/$TARBALL"
16 BUILD_DEPENDS="ruby-dev symlinks"
17 SPLIT="$PACKAGE-dev"
19 compile_rules() {
20 gem install \
21 --no-document \
22 --ignore-dependencies \
23 --no-user-install \
24 --build-root $install \
25 $src/$TARBALL &&
26 fix gem &&
27 chmod -R g-w $install &&
28 symlinks -cr $install # fix symlink contain /home/slitaz/wok/... in the target
29 }
31 genpkg_rules() {
32 case $PACKAGE in
33 *-dev)
34 copy @ruby-dev
35 ;;
36 *)
37 copy @ruby
38 DEPENDS="ruby"
39 ;;
40 esac
41 }