wok view ruby-pkgconfig/receipt @ rev 17644

Up: transmission-remote-gtk 1.1.1
author Alexander Medvedev <devl547@gmail.com>
date Sat Feb 14 21:34:50 2015 +0000 (2015-02-14)
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 }