wok-next view ruby-ncurses/receipt @ rev 18617

make-slitaz-icons: add media-player buttons that must use stock icons, but not used them
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Nov 19 14:33:00 2015 +0200 (2015-11-19)
parents cc6bbcf323fa
children d6378d455338
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 DEPENDS="ruby ncurses"
10 BUILD_DEPENDS="ruby-dev ncurses-dev"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 SOURCE="ncurses-ruby"
13 WEB_SITE="http://pkgs.fedoraproject.org/repo/pkgs/ruby-ncurses/"
14 WGET_URL="${WEB_SITE}$TARBALL/63fd3d09a51cdd745e1ed37f85621ea2/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 # use fedora patches
20 patch -i ../../stuff/STR2CSTR-deprecated.patch
21 patch -i ../../stuff/ruby-ncurses-fix-missing-tz-prototypes.patch
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 }