wok-next view ruby-pkgconfig/receipt @ rev 19211
Up python-mako (1.0.4)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jun 14 09:54:21 2016 +0200 (2016-06-14) |
parents | 051931e905b0 |
children | d43bf7aae921 |
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 }