wok-6.x annotate ruby-pkgconfig/receipt @ rev 9268
Up: midori to 0.3.3.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Mar 15 17:03:32 2011 +0000 (2011-03-15) |
parents | 03a5c535ba51 |
children | 9911fd0d3a4d |
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 SOURCE="pkg-config" |
slaxemulator@7192 | 10 TARBALL="$SOURCE-$VERSION.gem" |
slaxemulator@7192 | 11 WEB_SITE="http://github.com/rcairo/pkg-config" |
gokhlayeh@8569 | 12 WGET_URL="http://gems.rubyforge.org/gems/$TARBALL" |
gokhlayeh@8843 | 13 COOK_OPT="!repack_src !unpack" |
slaxemulator@7192 | 14 |
slaxemulator@7192 | 15 # Rules to configure and make the package. |
slaxemulator@7192 | 16 compile_rules() |
slaxemulator@7192 | 17 { |
slaxemulator@7192 | 18 local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" |
gokhlayeh@8843 | 19 gem install --ignore-dependencies -i "$DESTDIR/$_gemdir" $SOURCES_REPOSITORY/$TARBALL |
slaxemulator@7192 | 20 } |
slaxemulator@7192 | 21 |
slaxemulator@7192 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7192 | 23 genpkg_rules() |
slaxemulator@7192 | 24 { |
slaxemulator@7192 | 25 cp -a $_pkg/usr $fs |
slaxemulator@7192 | 26 } |
slaxemulator@7192 | 27 |