2006-02-23 15:26:10 +00:00
|
|
|
# Description: Ruby module for accessing the ncurses library
|
2015-07-05 10:53:51 +02:00
|
|
|
# URL: https://github.com/eclubb/ncurses-ruby
|
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
|
2015-07-05 10:53:51 +02:00
|
|
|
version=20140731
|
2016-12-13 16:13:01 +01:00
|
|
|
release=4
|
2015-07-05 10:53:51 +02:00
|
|
|
source=(http://crux.s3.amazonaws.com/dist/$name-$version.tar.xz)
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
build () {
|
2015-07-05 10:53:51 +02:00
|
|
|
cd $name-$version/ext/ncurses
|
|
|
|
mkdir lib
|
|
|
|
cp $SRC/$name-$version/lib/ncurses.rb lib
|
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
|
|
|
|
}
|