wok view ruby-pkgconfig/receipt @ rev 8569
imported patch get/ruby-pkgconfig
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sun Feb 13 22:57:56 2011 +0100 (2011-02-13) |
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 }