wok-6.x view ruby-pkgconfig/receipt @ rev 21856
updated ruby-pkgconfig (1.0.7 -> 1.3.8)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Sep 17 16:12:29 2019 +0100 (2019-09-17) |
parents | a78610b2eb47 |
children | 5ea0ce1cecc0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="ruby-pkgconfig"
4 VERSION="1.3.8"
5 CATEGORY="development"
6 SHORT_DESC="A pkg-config implementation in Ruby."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://github.com/ruby-gnome/pkg-config"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="${WEB_SITE}/archive/$VERSION.tar.gz"
14 COOK_OPT="!repack_src !unpack"
15 DEPENDS="ruby"
16 BUILD_DEPENDS="ruby-dev rubygems"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 local _gemdir="$(ruby -r rubygems -e'puts Gem.default_dir')"
22 gem install \
23 --ignore-dependencies \
24 -i "$DESTDIR/$_gemdir" \
25 pkg-config
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 cp -a $install/usr $fs
32 }