wok-6.x view ruby-pkgconfig/receipt @ rev 8608
Up: PyQt-x11-gpl 4.8.3
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Mon Feb 14 17:53:25 2011 +0100 (2011-02-14) |
parents | a64a66d2bb0b |
children | 5262bedbc4c0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="ruby-pkgconfig"
4 VERSION="1.0.7"
5 CATEGORY="development"
6 SHORT_DESC="A pkg-config implementation in Ruby."
7 MAINTAINER="slaxemulator@gmail.com"
8 DEPENDS="ruby"
9 BUILD_DEPENDS="ruby"
10 SOURCE="pkg-config"
11 TARBALL="$SOURCE-$VERSION.gem"
12 WEB_SITE="http://github.com/rcairo/pkg-config"
13 WGET_URL="http://gems.rubyforge.org/gems/$TARBALL"
14 COOK_OPT="!repack_src"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 mkdir -p $src
20 cd $src
21 local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
22 gem install --ignore-dependencies -i "$PWD/_pkg/$_gemdir" $SOURCES_REPOSITORY/$TARBALL
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 cp -a $_pkg/usr $fs
29 }