wok view rack/receipt @ rev 25167

updated python-chardet (3.0.4 -> 4.0.0)
author Hans-G?nter Theisgen
date Fri Jul 01 14:57:06 2022 +0100 (2022-07-01)
parents a0dccc5d133d
children
line source
1 # SliTaz package receipt.
3 PACKAGE="rack"
4 VERSION="1.3.5"
5 CATEGORY="network"
6 SHORT_DESC="Webserver Interface for Ruby"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.gem"
10 WEB_SITE="https://rubygems.org/gems/$PACKAGE"
11 WGET_URL="http://gems.rubyforge.org/gems/$TARBALL"
12 COOK_OPT="!repack_src !unpack"
14 DEPENDS="ruby activerecord"
15 BUILD_DEPENDS="$DEPENDS ruby-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - $WEB_SITE 2>/dev/null | \
21 sed '/versions\//!d;s|.*versions/||;s|".*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 local _gemdir="$(ruby -rrubygems -e'puts Gem.default_dir')"
28 gem install --ignore-dependencies -i "$DESTDIR/$_gemdir" $SOURCES_REPOSITORY/$TARBALL
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cp -a $install/usr $fs
35 }