wok-next view ruby-ncursesw/receipt @ rev 21032

Fix some homepages: follow HTTP redirections.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Nov 03 17:26:00 2018 +0200 (2018-11-03)
parents efc1e4b02968
children e19ff076dc63
line source
1 # SliTaz package receipt v2.
3 PACKAGE="ruby-ncursesw"
4 VERSION="1.4.10"
5 CATEGORY="ruby"
6 SHORT_DESC="Ruby extension for the ncurses C library"
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://rubygems.org/gems/ncursesw"
10 REPOLOGY="${PACKAGE/-/:}"
12 TARBALL="${PACKAGE#*-}-$VERSION.gem"
13 WGET_URL="https://rubygems.org/downloads/$TARBALL"
15 BUILD_DEPENDS="ruby-dev ncurses-dev"
16 SPLIT="$PACKAGE-dev"
18 compile_rules() {
19 gem install \
20 --no-document \
21 --ignore-dependencies \
22 --no-user-install \
23 --build-root $install \
24 $src/$TARBALL &&
25 fix gem
26 # FIXME: many *.{h,c,o} files inside gem base folder; move to lib / ext ?
27 }
29 genpkg_rules() {
30 case $PACKAGE in
31 *-dev)
32 copy @ruby-dev *.h
33 DEPENDS="ruby-ncursesw ncurses-dev"
34 ;;
35 *)
36 copy @ruby
37 DEPENDS="ruby ncurses ncurses-libform ncurses-libmenu \
38 ncurses-libpanel"
39 ;;
40 esac
41 }