wok-next view ruby-ncurses/receipt @ rev 20892
linux: up (4.17.7)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jul 20 01:20:51 2018 +0300 (2018-07-20) |
parents | d6378d455338 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="ruby-ncurses"
4 VERSION="1.3.1"
5 CATEGORY="development"
6 SHORT_DESC="Ruby extension for the ncurses C library."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="http://pkgs.fedoraproject.org/repo/pkgs/ruby-ncurses/"
10 REPOLOGY="ruby:ncurses"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 SOURCE="ncurses-ruby"
14 WGET_URL="${WEB_SITE}$TARBALL/63fd3d09a51cdd745e1ed37f85621ea2/$TARBALL"
16 DEPENDS="ruby ncurses"
17 BUILD_DEPENDS="ruby-dev ncurses-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 ruby extconf.rb
23 make
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr
31 cp -a $install/usr/lib $fs/usr
32 }