opt/ncurses-ruby/Pkgfile

20 lines
596 B
Plaintext
Raw Normal View History

2006-02-23 16:26:10 +01: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 16:26:10 +01:00
# Depends on: ruby
name=ncurses-ruby
2013-12-28 18:51:27 +01:00
version=1.3.1
release=1
2010-08-31 16:31:30 +02:00
source=(http://download.berlios.de/$name/$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 16:26:10 +01: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
ruby extconf.rb --vendor
2006-02-23 16:26:10 +01:00
make
make DESTDIR=$PKG install
}