wok view ruby-pkgconfig/receipt @ rev 17849

Add gcc49-lib-base
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Mar 24 17:40:10 2015 +0100 (2015-03-24)
parents 051931e905b0
children a78610b2eb47
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 LICENSE="LGPL2.1"
9 SOURCE="pkg-config"
10 TARBALL="$SOURCE-$VERSION.gem"
11 WEB_SITE="http://github.com/rcairo/pkg-config"
12 WGET_URL="http://gems.rubyforge.org/gems/$TARBALL"
13 COOK_OPT="!repack_src !unpack"
15 DEPENDS="ruby"
16 BUILD_DEPENDS="ruby-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
22 gem install --ignore-dependencies -i "$DESTDIR/$_gemdir" $SOURCES_REPOSITORY/$TARBALL
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 cp -a $install/usr $fs
29 }