wok view ruby-pkgconfig/receipt @ rev 15822

Up: bind to 9.9.4-P2.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri Jan 24 07:30:06 2014 +0000 (2014-01-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 }