wok view ruby-ncurses/receipt @ rev 24031
updated dialog (1.3_20190211 -> 1.3_20210324)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Apr 06 13:52:57 2021 +0100 (2021-04-06) |
parents | d3eb5f4b53ea |
children | a3c45ab9082e |
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"
10 DEPENDS="ruby ncurses"
11 BUILD_DEPENDS="glibc-dev ncurses-dev ruby-dev"
13 TARBALL="$PACKAGE-$VERSION.tar.bz2"
14 SOURCE="ncurses-ruby"
15 WEB_SITE="http://pkgs.fedoraproject.org/repo/pkgs/ruby-ncurses/"
16 WGET_URL="${WEB_SITE}$TARBALL/63fd3d09a51cdd745e1ed37f85621ea2/$TARBALL"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 # use fedora patches
22 patch -i ../../stuff/STR2CSTR-deprecated.patch
23 patch -i ../../stuff/ruby-ncurses-fix-missing-tz-prototypes.patch
25 ruby extconf.rb &&
26 make &&
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr
34 cp -a $install/usr/lib $fs/usr
35 }