wok view ruby-pkgconfig/receipt @ rev 8602

Up: libsmpeg-dev to 390.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Feb 14 02:23:22 2011 +0000 (2011-02-14)
parents a64a66d2bb0b
children 5262bedbc4c0
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 DEPENDS="ruby"
9 BUILD_DEPENDS="ruby"
10 SOURCE="pkg-config"
11 TARBALL="$SOURCE-$VERSION.gem"
12 WEB_SITE="http://github.com/rcairo/pkg-config"
13 WGET_URL="http://gems.rubyforge.org/gems/$TARBALL"
14 COOK_OPT="!repack_src"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 mkdir -p $src
20 cd $src
21 local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
22 gem install --ignore-dependencies -i "$PWD/_pkg/$_gemdir" $SOURCES_REPOSITORY/$TARBALL
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 cp -a $_pkg/usr $fs
29 }