wok-next diff ruby-rack/receipt @ rev 20957
Random updates
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Sep 05 15:26:05 2018 +0300 (2018-09-05) |
parents | |
children | d5aab818505e |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/ruby-rack/receipt Wed Sep 05 15:26:05 2018 +0300 1.3 @@ -0,0 +1,33 @@ 1.4 +# SliTaz package receipt v2. 1.5 + 1.6 +PACKAGE="ruby-rack" 1.7 +VERSION="2.0.5" 1.8 +CATEGORY="ruby" 1.9 +SHORT_DESC="Modular Ruby webserver interface" 1.10 +MAINTAINER="erjo@slitaz.org" 1.11 +LICENSE="MIT" 1.12 +WEB_SITE="https://rubygems.org/gems/${PACKAGE#*-}" 1.13 +HOST_ARCH="any" 1.14 +REPOLOGY="${PACKAGE/-/:}" 1.15 + 1.16 +TARBALL="${PACKAGE#*-}-$VERSION.gem" 1.17 +WGET_URL="https://rubygems.org/downloads/$TARBALL" 1.18 + 1.19 +BUILD_DEPENDS="ruby-dev" 1.20 + 1.21 +COOKOPTS="!pngz" # error with weird test file 1.22 + 1.23 +compile_rules() { 1.24 + gem install \ 1.25 + --no-document \ 1.26 + --ignore-dependencies \ 1.27 + --no-user-install \ 1.28 + --build-root $install \ 1.29 + $src/$TARBALL && 1.30 + fix gem 1.31 +} 1.32 + 1.33 +genpkg_rules() { 1.34 + copy @ruby 1.35 + DEPENDS="ruby" 1.36 +}