opt/ncurses-ruby/Pkgfile

19 lines
474 B
Plaintext
Raw Normal View History

2006-02-23 16:26:10 +01:00
# Description: Ruby module for accessing the ncurses library
# 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 16:26:10 +01:00
# Depends on: ruby
name=ncurses-ruby
version=20140731
2016-12-13 16:13:01 +01:00
release=4
source=(http://crux.s3.amazonaws.com/dist/$name-$version.tar.xz)
2006-02-23 16:26:10 +01:00
build () {
cd $name-$version/ext/ncurses
mkdir lib
cp $SRC/$name-$version/lib/ncurses.rb lib
ruby extconf.rb --vendor
2006-02-23 16:26:10 +01:00
make
make DESTDIR=$PKG install
}