wok-next view ruby-ncursesw/receipt @ rev 21602
updated dstat (0.7.3 -> 0.7.4)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 24 15:19:05 2020 +0100 (2020-06-24) |
parents | d5aab818505e |
children |
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 COOKOPTS="force-arch" # arch-specific paths for gem.build_complete
17 BUILD_DEPENDS="ruby-dev ncurses-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 # FIXME: many *.{h,c,o} files inside gem base folder; move to lib / ext ?
29 }
31 genpkg_rules() {
32 case $PACKAGE in
33 *-dev)
34 copy @ruby-dev *.h
35 DEPENDS="ruby-ncursesw ncurses-dev"
36 ;;
37 *)
38 copy @ruby
39 DEPENDS="ruby ncurses ncurses-libform ncurses-libmenu \
40 ncurses-libpanel"
41 ;;
42 esac
43 }