wok-current annotate activerecord/receipt @ rev 21779

linld: fix strdup (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jul 11 16:53:39 2019 +0200 (2019-07-11)
parents 2a5cc8208d36
children 43d981d0e5b7
rev   line source
slaxemulator@10145 1 # SliTaz package receipt.
slaxemulator@10145 2
slaxemulator@10145 3 PACKAGE="activerecord"
slaxemulator@13075 4 VERSION="3.2.6"
slaxemulator@10145 5 CATEGORY="system-tools"
slaxemulator@10145 6 SHORT_DESC="Rich support for multibyte strings"
slaxemulator@10145 7 MAINTAINER="erjo@slitaz.org"
pascal@15379 8 LICENSE="MIT"
slaxemulator@10145 9 TARBALL="$PACKAGE-$VERSION.gem"
pascal@20668 10 WEB_SITE="https://rubygems.org/gems/activerecord"
pascal@20668 11 WGET_URL="https://rubygems.org/downloads/$TARBALL"
slaxemulator@10145 12 COOK_OPT="!repack_src !unpack"
slaxemulator@10145 13
pascal@15379 14 DEPENDS="ruby activesupport"
pascal@15379 15 BUILD_DEPENDS="ruby-dev"
pascal@15379 16
slaxemulator@10145 17 # Rules to configure and make the package.
slaxemulator@10145 18 compile_rules()
slaxemulator@10145 19 {
slaxemulator@10145 20 local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
slaxemulator@10145 21 gem install --ignore-dependencies -i "$DESTDIR/$_gemdir" $SOURCES_REPOSITORY/$TARBALL
slaxemulator@10145 22 }
slaxemulator@10145 23
slaxemulator@10145 24 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@10145 25 genpkg_rules()
slaxemulator@10145 26 {
slaxemulator@13075 27 cp -a $install/usr $fs
slaxemulator@10145 28 }