wok-6.x view ruby-pkgconfig/receipt @ rev 12965
Up: slitaz-base-files (5.2.3)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Jun 01 08:32:45 2012 +0200 (2012-06-01) |
parents | 5262bedbc4c0 |
children | 051931e905b0 |
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 SOURCE="pkg-config"
9 TARBALL="$SOURCE-$VERSION.gem"
10 WEB_SITE="http://github.com/rcairo/pkg-config"
11 WGET_URL="http://gems.rubyforge.org/gems/$TARBALL"
12 COOK_OPT="!repack_src !unpack"
14 DEPENDS="ruby"
15 BUILD_DEPENDS="ruby-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
21 gem install --ignore-dependencies -i "$DESTDIR/$_gemdir" $SOURCES_REPOSITORY/$TARBALL
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 cp -a $_pkg/usr $fs
28 }