2006-02-23 15:26:10 +00:00
|
|
|
# Description: Ruby module for accessing the ncurses library
|
|
|
|
# URL: http://ncurses-ruby.berlios.de
|
2011-02-02 13:44:37 +01:00
|
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
2006-02-23 15:26:10 +00:00
|
|
|
# Depends on: ruby
|
|
|
|
|
|
|
|
name=ncurses-ruby
|
2013-12-28 18:51:27 +01:00
|
|
|
version=1.3.1
|
2014-02-25 12:26:22 +01:00
|
|
|
release=2
|
2014-06-13 17:46:43 +02:00
|
|
|
source=(http://downloads.sourceforge.net/project/ncurses-ruby.berlios/$name-$version.tar.bz2
|
2013-12-28 18:51:27 +01:00
|
|
|
http://pkgs.fedoraproject.org/cgit/ruby-ncurses.git/plain/0001-STR2CSTR-deprecated.patch)
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
build () {
|
|
|
|
cd $name-$version
|
2013-12-28 18:51:27 +01:00
|
|
|
patch -p1 -i $SRC/0001-STR2CSTR-deprecated.patch
|
|
|
|
sed -i '72i#include <sys/time.h>\n' ncurses_wrap.c
|
2008-07-07 10:53:26 +02:00
|
|
|
ruby extconf.rb --vendor
|
2006-02-23 15:26:10 +00:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
}
|