wok view ruby-ncurses/receipt @ rev 19635
Up SliTaz projects: cookutils(867), slitaz-base-files(321), slitaz-boot-scripts(437), slitaz-tools(1009), tazbug(95), tazirc(20), tazlito(448), tazpkg(933).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Jan 17 17:38:43 2017 +0200 (2017-01-17) |
parents | cc6bbcf323fa |
children | 8e65b867668e |
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 }