wok-next view ruby-gdbm/receipt @ rev 20921

flake8 -> python-flake8
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Aug 22 11:18:36 2018 +0300 (2018-08-22)
parents
children d5aab818505e
line source
1 # SliTaz package receipt v2.
3 PACKAGE="ruby-gdbm" # ruby-stdlib already provides gdbm
4 VERSION="2.0.0"
5 CATEGORY="ruby"
6 SHORT_DESC="Ruby extension for GNU dbm"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="BSD"
9 WEB_SITE="https://rubygems.org/gems/${PACKAGE#*-}"
10 HOST_ARCH="i486 x86_64"
11 REPOLOGY="${PACKAGE/-/:}"
13 TARBALL="${PACKAGE#*-}-$VERSION.gem"
14 WGET_URL="https://rubygems.org/downloads/$TARBALL"
16 BUILD_DEPENDS="ruby-dev gdbm-dev"
18 compile_rules() {
19 gem install \
20 --no-document \
21 --ignore-dependencies \
22 --no-user-install \
23 --build-root $install \
24 $src/$TARBALL &&
25 fix gem
26 }
28 genpkg_rules() {
29 copy @ruby
30 DEPENDS="ruby gdbm"
31 }