wok-next annotate ruby-zlib/receipt @ rev 21427
updated qt4 (4.8.6 -> 4.8.7)
author | Hans-G?nter Theisgen |
---|---|
date | Tue May 05 08:11:24 2020 +0100 (2020-05-05) |
parents | efc1e4b02968 |
children |
rev | line source |
---|---|
al@20910 | 1 # SliTaz package receipt v2. |
al@20910 | 2 |
al@20910 | 3 PACKAGE="ruby-zlib" # ruby-stdlib already provides zlib |
al@20910 | 4 VERSION="1.0.0" |
al@20910 | 5 CATEGORY="ruby" |
al@20910 | 6 SHORT_DESC="Ruby interface for the zlib compression/decompression library" |
al@20910 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@20910 | 8 LICENSE="BSD" |
al@20910 | 9 WEB_SITE="https://rubygems.org/gems/${PACKAGE#*-}" |
al@20910 | 10 REPOLOGY="${PACKAGE/-/:}" |
al@20910 | 11 |
al@20910 | 12 TARBALL="${PACKAGE#*-}-$VERSION.gem" |
al@20910 | 13 WGET_URL="https://rubygems.org/downloads/$TARBALL" |
al@20910 | 14 |
al@20910 | 15 BUILD_DEPENDS="ruby-dev zlib-dev" |
al@20910 | 16 |
al@20910 | 17 compile_rules() { |
al@20910 | 18 gem install \ |
al@20910 | 19 --no-document \ |
al@20910 | 20 --ignore-dependencies \ |
al@20910 | 21 --no-user-install \ |
al@20910 | 22 --build-root $install \ |
al@20910 | 23 $src/$TARBALL && |
al@20910 | 24 fix gem |
al@20910 | 25 } |
al@20910 | 26 |
al@20910 | 27 genpkg_rules() { |
al@20910 | 28 copy @ruby |
al@20910 | 29 DEPENDS="ruby" |
al@20910 | 30 } |