wok-6.x view ruby-ncurses/receipt @ rev 17077
QtWeb: /suggests/suggested/, move to deps
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Sun Aug 24 09:53:06 2014 +0200 (2014-08-24) |
parents | |
children | cc6bbcf323fa |
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 DEPENDS="ruby ncurses"
9 BUILD_DEPENDS="ruby-dev ncurses-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 SOURCE="ncurses-ruby"
12 WEB_SITE="http://pkgs.fedoraproject.org/repo/pkgs/ruby-ncurses/"
13 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"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
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 }