wok-next view ruby-pkg-config/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents efc1e4b02968
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="ruby-pkg-config"
4 VERSION="1.3.1"
5 CATEGORY="ruby"
6 SHORT_DESC="A pkg-config implementation for Ruby"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://rubygems.org/gems/${PACKAGE#*-}"
10 HOST_ARCH="any"
11 REPOLOGY="${PACKAGE/-/:}"
13 TARBALL="${PACKAGE#*-}-$VERSION.gem"
14 WGET_URL="https://rubygems.org/downloads/$TARBALL"
16 BUILD_DEPENDS="ruby-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 }
28 genpkg_rules() {
29 copy @ruby
30 DEPENDS="ruby"
31 }