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