wok-next view ruby-websocket-driver/receipt @ rev 21715

Up cookutils (1146)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jul 28 07:53:22 2020 +0000 (2020-07-28)
parents efc1e4b02968
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="ruby-websocket-driver"
4 VERSION="0.7.0"
5 CATEGORY="ruby"
6 SHORT_DESC="WebSocket protocol handler with pluggable I/O"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="MIT"
9 WEB_SITE="https://rubygems.org/gems/${PACKAGE#*-}"
10 REPOLOGY="${PACKAGE/-/:}"
12 TARBALL="${PACKAGE#*-}-$VERSION.gem"
13 WGET_URL="http://rubygems.org/downloads/$TARBALL"
15 BUILD_DEPENDS="ruby-dev"
17 compile_rules() {
18 gem install \
19 --no-document \
20 --ignore-dependencies \
21 --no-user-install \
22 --build-root $install \
23 $src/$TARBALL &&
24 fix gem
25 }
27 genpkg_rules() {
28 copy @ruby
29 DEPENDS="ruby ruby-websocket-extensions"
30 }