wok-6.x view ruby-pkgconfig/receipt @ rev 19945

Up vmtouch (1.1.0)
author Paul Issott <paul@slitaz.org>
date Sun May 07 15:47:05 2017 +0100 (2017-05-07)
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 }