wok-current annotate ruby-pkgconfig/receipt @ rev 15507
Up: thunderbird-langpack-da (17.0.10esr)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Tue Nov 19 22:24:11 2013 +0100 (2013-11-19) |
parents | 5262bedbc4c0 |
children | 051931e905b0 |
rev | line source |
---|---|
slaxemulator@7192 | 1 # SliTaz package receipt. |
slaxemulator@7192 | 2 |
slaxemulator@7192 | 3 PACKAGE="ruby-pkgconfig" |
slaxemulator@7192 | 4 VERSION="1.0.7" |
slaxemulator@7192 | 5 CATEGORY="development" |
slaxemulator@7192 | 6 SHORT_DESC="A pkg-config implementation in Ruby." |
slaxemulator@7192 | 7 MAINTAINER="slaxemulator@gmail.com" |
slaxemulator@7192 | 8 SOURCE="pkg-config" |
slaxemulator@7192 | 9 TARBALL="$SOURCE-$VERSION.gem" |
slaxemulator@7192 | 10 WEB_SITE="http://github.com/rcairo/pkg-config" |
gokhlayeh@8569 | 11 WGET_URL="http://gems.rubyforge.org/gems/$TARBALL" |
gokhlayeh@8843 | 12 COOK_OPT="!repack_src !unpack" |
slaxemulator@7192 | 13 |
pankso@9895 | 14 DEPENDS="ruby" |
pankso@9895 | 15 BUILD_DEPENDS="ruby-dev" |
pankso@9895 | 16 |
slaxemulator@7192 | 17 # Rules to configure and make the package. |
slaxemulator@7192 | 18 compile_rules() |
slaxemulator@7192 | 19 { |
slaxemulator@7192 | 20 local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" |
gokhlayeh@8843 | 21 gem install --ignore-dependencies -i "$DESTDIR/$_gemdir" $SOURCES_REPOSITORY/$TARBALL |
slaxemulator@7192 | 22 } |
slaxemulator@7192 | 23 |
slaxemulator@7192 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7192 | 25 genpkg_rules() |
slaxemulator@7192 | 26 { |
slaxemulator@7192 | 27 cp -a $_pkg/usr $fs |
slaxemulator@7192 | 28 } |
slaxemulator@7192 | 29 |