wok-current view activerecord/receipt @ rev 25702

Up git (CVE-2024-32002,CVE-2024-32004,CVE-2024-32020,CVE-2024-32021,CVE-2024-32465), gdk-pixbuf CVE-2022-48622, up linux 5.10.217
author Stanislas Leduc <shann@slitaz.org>
date Mon May 20 11:38:26 2024 +0000 (6 weeks ago)
parents 63fa34c8d2fa
children
line source
1 # SliTaz package receipt.
3 PACKAGE="activerecord"
4 VERSION="6.1.4.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="Rich support for multibyte strings."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://rubygems.org/gems/activerecord"
11 TARBALL="$PACKAGE-$VERSION.gem"
12 WGET_URL="https://rubygems.org/downloads/$TARBALL"
14 DEPENDS="activesupport ruby"
15 BUILD_DEPENDS="ruby-dev"
17 COOK_OPT="!repack_src !unpack"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - $WEB_SITE 2>/dev/null | sed '/versions\//!d;s|.*versions/||;s|".*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 local _gemdir="$(ruby -rrubygems -e'puts Gem.default_dir')"
29 gem install \
30 --ignore-dependencies \
31 -i "$DESTDIR/$_gemdir" \
32 $SOURCES_REPOSITORY/$TARBALL
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 cp -a $install/usr $fs
39 }