wok-6.x view ruby-ncurses/receipt @ rev 22625
updated cyrus-imapd and cyrus-impad-dev (2.4.17 -> 3.0.13)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jan 12 16:58:49 2020 +0100 (2020-01-12) |
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 }