wok annotate ruby-pkgconfig/receipt @ rev 25460
Update sourceforge.net web_sites with https://
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Sep 28 08:10:35 2022 +0000 (2022-09-28) |
parents | 5ea0ce1cecc0 |
children |
rev | line source |
---|---|
slaxemulator@7192 | 1 # SliTaz package receipt. |
slaxemulator@7192 | 2 |
slaxemulator@7192 | 3 PACKAGE="ruby-pkgconfig" |
Hans-G?nter@21856 | 4 VERSION="1.3.8" |
slaxemulator@7192 | 5 CATEGORY="development" |
slaxemulator@7192 | 6 SHORT_DESC="A pkg-config implementation in Ruby." |
slaxemulator@7192 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15610 | 8 LICENSE="LGPL2.1" |
Hans-G?nter@21856 | 9 WEB_SITE="https://github.com/ruby-gnome/pkg-config" |
Hans-G?nter@21856 | 10 |
Hans-G?nter@21856 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@21856 | 12 WGET_URL="${WEB_SITE}/archive/$VERSION.tar.gz" |
Hans-G?nter@21856 | 13 |
gokhlayeh@8843 | 14 COOK_OPT="!repack_src !unpack" |
pankso@9895 | 15 DEPENDS="ruby" |
Hans-G?nter@21856 | 16 BUILD_DEPENDS="ruby-dev rubygems" |
pankso@9895 | 17 |
pascal@24055 | 18 current_version() |
pascal@24055 | 19 { |
pascal@24299 | 20 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ |
pascal@24055 | 21 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' |
pascal@24055 | 22 } |
pascal@24055 | 23 |
slaxemulator@7192 | 24 # Rules to configure and make the package. |
slaxemulator@7192 | 25 compile_rules() |
slaxemulator@7192 | 26 { |
Hans-G?nter@21856 | 27 local _gemdir="$(ruby -r rubygems -e'puts Gem.default_dir')" |
Hans-G?nter@21856 | 28 gem install \ |
Hans-G?nter@21856 | 29 --ignore-dependencies \ |
Hans-G?nter@21856 | 30 -i "$DESTDIR/$_gemdir" \ |
Hans-G?nter@21856 | 31 pkg-config |
slaxemulator@7192 | 32 } |
slaxemulator@7192 | 33 |
slaxemulator@7192 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7192 | 35 genpkg_rules() |
slaxemulator@7192 | 36 { |
pascal@15603 | 37 cp -a $install/usr $fs |
slaxemulator@7192 | 38 } |