wok annotate ruby-pkgconfig/receipt @ rev 8783
Add patch for superswitcher I forgot
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Tue Feb 22 22:29:59 2011 +0100 (2011-02-22) |
parents | a64a66d2bb0b |
children | 5262bedbc4c0 |
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 DEPENDS="ruby" |
slaxemulator@7192 | 9 BUILD_DEPENDS="ruby" |
slaxemulator@7192 | 10 SOURCE="pkg-config" |
slaxemulator@7192 | 11 TARBALL="$SOURCE-$VERSION.gem" |
slaxemulator@7192 | 12 WEB_SITE="http://github.com/rcairo/pkg-config" |
gokhlayeh@8569 | 13 WGET_URL="http://gems.rubyforge.org/gems/$TARBALL" |
gokhlayeh@8569 | 14 COOK_OPT="!repack_src" |
slaxemulator@7192 | 15 |
slaxemulator@7192 | 16 # Rules to configure and make the package. |
slaxemulator@7192 | 17 compile_rules() |
slaxemulator@7192 | 18 { |
slaxemulator@7192 | 19 mkdir -p $src |
slaxemulator@7192 | 20 cd $src |
slaxemulator@7192 | 21 local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" |
slaxemulator@7192 | 22 gem install --ignore-dependencies -i "$PWD/_pkg/$_gemdir" $SOURCES_REPOSITORY/$TARBALL |
slaxemulator@7192 | 23 } |
slaxemulator@7192 | 24 |
slaxemulator@7192 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7192 | 26 genpkg_rules() |
slaxemulator@7192 | 27 { |
slaxemulator@7192 | 28 cp -a $_pkg/usr $fs |
slaxemulator@7192 | 29 } |
slaxemulator@7192 | 30 |