wok-6.x view ruby-ncurses/receipt @ rev 18875

Add python-erppeek
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 04 17:02:49 2016 +0100 (2016-02-04)
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 }