wok-next annotate 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 |
rev | line source |
---|---|
al@20910 | 1 # SliTaz package receipt v2. |
al@20910 | 2 |
al@20910 | 3 PACKAGE="ruby-pkg-config" |
al@20910 | 4 VERSION="1.3.1" |
al@20910 | 5 CATEGORY="ruby" |
al@20910 | 6 SHORT_DESC="A pkg-config implementation for Ruby" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
al@20910 | 8 LICENSE="LGPL2.1" |
al@20910 | 9 WEB_SITE="https://rubygems.org/gems/${PACKAGE#*-}" |
al@20910 | 10 HOST_ARCH="any" |
al@20910 | 11 REPOLOGY="${PACKAGE/-/:}" |
al@20910 | 12 |
al@20910 | 13 TARBALL="${PACKAGE#*-}-$VERSION.gem" |
al@20910 | 14 WGET_URL="https://rubygems.org/downloads/$TARBALL" |
al@20910 | 15 |
al@20910 | 16 BUILD_DEPENDS="ruby-dev" |
al@20910 | 17 |
al@20910 | 18 compile_rules() { |
al@20910 | 19 gem install \ |
al@20910 | 20 --no-document \ |
al@20910 | 21 --ignore-dependencies \ |
al@20910 | 22 --no-user-install \ |
al@20910 | 23 --build-root $install \ |
al@20910 | 24 $src/$TARBALL && |
al@20910 | 25 fix gem |
al@20910 | 26 } |
al@20910 | 27 |
al@20910 | 28 genpkg_rules() { |
al@20910 | 29 copy @ruby |
al@20910 | 30 DEPENDS="ruby" |
al@20910 | 31 } |