wok-next view ruby-mimemagic/receipt @ rev 20983
Small updates
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Sep 28 13:48:52 2018 +0300 (2018-09-28) |
parents | |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="ruby-mimemagic"
4 VERSION="0.3.2"
5 CATEGORY="ruby"
6 SHORT_DESC="Fast MIME detection"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="MIT"
9 WEB_SITE="https://rubygems.org/gems/${PACKAGE#*-}"
10 HOST_ARCH="any"
11 REPOLOGY="${PACKAGE/-/:}"
13 TARBALL="${PACKAGE#*-}-$VERSION.gem"
14 WGET_URL="http://rubygems.org/downloads/$TARBALL"
16 BUILD_DEPENDS="ruby-dev"
17 COOKOPTS="!zip"
19 compile_rules() {
20 gem install \
21 --no-document \
22 --ignore-dependencies \
23 --no-user-install \
24 --build-root $install \
25 $src/$TARBALL &&
26 fix gem
27 }
29 genpkg_rules() {
30 copy @ruby
31 DEPENDS="ruby ruby-bacon ruby-rake"
32 }