wok-next view ruby-ncurses/receipt @ rev 17408
Up wireshark (1.10.11)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 28 21:18:51 2014 +0100 (2014-11-28) |
parents | 8fcfcd2e1445 |
children | d3eb5f4b53ea |
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="http://pkgs.fedoraproject.org/repo/pkgs/ruby-ncurses/ncurses-ruby-1.3.1.tar.bz2/63fd3d09a51cdd745e1ed37f85621ea2/ncurses-ruby-1.3.1.tar.bz2"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 # use fedora patches
21 patch -i ../../stuff/STR2CSTR-deprecated.patch
22 patch -i ../../stuff/ruby-ncurses-fix-missing-tz-prototypes.patch
23 ruby extconf.rb
24 make
25 make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr
32 cp -a $install/usr/lib $fs/usr
33 }