wok-current annotate ruby-pkgconfig/receipt @ rev 23145
updated luafilesystem (1.7.0 -> 1.7.0.2)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Mar 15 09:31:30 2020 +0100 (2020-03-15) |
parents | a78610b2eb47 |
children | 5ea0ce1cecc0 |
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 |
slaxemulator@7192 | 18 # Rules to configure and make the package. |
slaxemulator@7192 | 19 compile_rules() |
slaxemulator@7192 | 20 { |
Hans-G?nter@21856 | 21 local _gemdir="$(ruby -r rubygems -e'puts Gem.default_dir')" |
Hans-G?nter@21856 | 22 gem install \ |
Hans-G?nter@21856 | 23 --ignore-dependencies \ |
Hans-G?nter@21856 | 24 -i "$DESTDIR/$_gemdir" \ |
Hans-G?nter@21856 | 25 pkg-config |
slaxemulator@7192 | 26 } |
slaxemulator@7192 | 27 |
slaxemulator@7192 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7192 | 29 genpkg_rules() |
slaxemulator@7192 | 30 { |
pascal@15603 | 31 cp -a $install/usr $fs |
slaxemulator@7192 | 32 } |