ncurses-ruby: update to git version 20140731
This commit is contained in:
parent
f7d48c27d9
commit
238444fd37
|
@ -4,6 +4,5 @@ drwxr-xr-x root/root usr/lib/ruby/
|
|||
drwxr-xr-x root/root usr/lib/ruby/vendor_ruby/
|
||||
drwxr-xr-x root/root usr/lib/ruby/vendor_ruby/2.1/
|
||||
-rw-r--r-- root/root usr/lib/ruby/vendor_ruby/2.1/ncurses.rb
|
||||
-rw-r--r-- root/root usr/lib/ruby/vendor_ruby/2.1/ncurses_sugar.rb
|
||||
drwxr-xr-x root/root usr/lib/ruby/vendor_ruby/2.1/x86_64-linux/
|
||||
-rwxr-xr-x root/root usr/lib/ruby/vendor_ruby/2.1/x86_64-linux/ncurses_bin.so
|
||||
-rwxr-xr-x root/root usr/lib/ruby/vendor_ruby/2.1/x86_64-linux/ncurses.so
|
||||
|
|
|
@ -1,2 +1 @@
|
|||
74f1069ac1942453f3e100c3206ff596 0001-STR2CSTR-deprecated.patch
|
||||
63fd3d09a51cdd745e1ed37f85621ea2 ncurses-ruby-1.3.1.tar.bz2
|
||||
6e7c28abe62988e06ade766df6c8a292 ncurses-ruby-20140731.tar.xz
|
||||
|
|
|
@ -1,18 +1,17 @@
|
|||
# Description: Ruby module for accessing the ncurses library
|
||||
# URL: http://ncurses-ruby.berlios.de
|
||||
# URL: https://github.com/eclubb/ncurses-ruby
|
||||
# Maintainer: Juergen Daubert, jue at crux dot nu
|
||||
# Depends on: ruby
|
||||
|
||||
name=ncurses-ruby
|
||||
version=1.3.1
|
||||
release=2
|
||||
source=(http://downloads.sourceforge.net/project/ncurses-ruby.berlios/$name-$version.tar.bz2
|
||||
http://pkgs.fedoraproject.org/cgit/ruby-ncurses.git/plain/0001-STR2CSTR-deprecated.patch)
|
||||
version=20140731
|
||||
release=1
|
||||
source=(http://crux.s3.amazonaws.com/dist/$name-$version.tar.xz)
|
||||
|
||||
build () {
|
||||
cd $name-$version
|
||||
patch -p1 -i $SRC/0001-STR2CSTR-deprecated.patch
|
||||
sed -i '72i#include <sys/time.h>\n' ncurses_wrap.c
|
||||
cd $name-$version/ext/ncurses
|
||||
mkdir lib
|
||||
cp $SRC/$name-$version/lib/ncurses.rb lib
|
||||
ruby extconf.rb --vendor
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
|
|
Loading…
Reference in New Issue
Block a user