rev |
line source |
slaxemulator@7192
|
1 # SliTaz package receipt.
|
slaxemulator@7192
|
2
|
slaxemulator@7192
|
3 PACKAGE="ruby-pkgconfig"
|
slaxemulator@7192
|
4 VERSION="1.0.7"
|
slaxemulator@7192
|
5 CATEGORY="development"
|
slaxemulator@7192
|
6 SHORT_DESC="A pkg-config implementation in Ruby."
|
slaxemulator@7192
|
7 MAINTAINER="slaxemulator@gmail.com"
|
pascal@15610
|
8 LICENSE="LGPL2.1"
|
slaxemulator@7192
|
9 SOURCE="pkg-config"
|
slaxemulator@7192
|
10 TARBALL="$SOURCE-$VERSION.gem"
|
pascal@20669
|
11 WEB_SITE="https://github.com/rcairo/pkg-config"
|
gokhlayeh@8569
|
12 WGET_URL="http://gems.rubyforge.org/gems/$TARBALL"
|
gokhlayeh@8843
|
13 COOK_OPT="!repack_src !unpack"
|
slaxemulator@7192
|
14
|
pankso@9895
|
15 DEPENDS="ruby"
|
pankso@9895
|
16 BUILD_DEPENDS="ruby-dev"
|
pankso@9895
|
17
|
slaxemulator@7192
|
18 # Rules to configure and make the package.
|
slaxemulator@7192
|
19 compile_rules()
|
slaxemulator@7192
|
20 {
|
slaxemulator@7192
|
21 local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
|
gokhlayeh@8843
|
22 gem install --ignore-dependencies -i "$DESTDIR/$_gemdir" $SOURCES_REPOSITORY/$TARBALL
|
slaxemulator@7192
|
23 }
|
slaxemulator@7192
|
24
|
slaxemulator@7192
|
25 # Rules to gen a SliTaz package suitable for Tazpkg.
|
slaxemulator@7192
|
26 genpkg_rules()
|
slaxemulator@7192
|
27 {
|
pascal@15603
|
28 cp -a $install/usr $fs
|
slaxemulator@7192
|
29 }
|
slaxemulator@7192
|
30
|