wok-current annotate ruby-pkgconfig/receipt @ rev 25653
lzo needed from fsarchiver
author | Hans-G?nter Theisgen |
---|---|
date | Tue Feb 13 07:22:29 2024 +0100 (6 months ago) |
parents | ac8ca9758df1 |
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" |
shann@25617 | 16 BUILD_DEPENDS="ruby-dev rubygems cacerts" |
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 } |