wok-next view ruby-pango/receipt @ rev 20963
Add hackdorte-artwork and remove appropriate old packages with dead homepages
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Sep 08 15:02:14 2018 +0300 (2018-09-08) |
parents | |
children | d5aab818505e |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="ruby-pango"
4 VERSION="3.2.9"
5 CATEGORY="ruby"
6 SHORT_DESC="Ruby binding of pango-1.x"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://rubygems.org/gems/${PACKAGE#*-}"
10 HOST_ARCH="i486 x86_64"
11 REPOLOGY="${PACKAGE/-/:}"
13 TARBALL="${PACKAGE#*-}-$VERSION.gem"
14 WGET_URL="https://rubygems.org/downloads/$TARBALL"
16 BUILD_DEPENDS="ruby-dev ruby-glib2-dev ruby-cairo-dev pango-dev \
17 ruby-gobject-introspection-dev"
18 SPLIT="$PACKAGE-dev"
20 compile_rules() {
21 gem install \
22 --no-document \
23 --ignore-dependencies \
24 --no-user-install \
25 --build-root $install \
26 $src/$TARBALL &&
27 fix gem
28 }
30 genpkg_rules() {
31 case $PACKAGE in
32 *-dev)
33 copy @ruby-dev
34 DEPENDS="pango-dev"
35 ;;
36 *)
37 copy @ruby
38 DEPENDS="ruby ruby-cairo-gobject ruby-gobject-introspection glib \
39 pango"
40 ;;
41 esac
42 }