devel/ruby-ffi 1.17.4 NetBSD
Loading dynamic libraries, binding functions within them
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- License
- modified-bsd
- Categories
- devel, ruby
- Package size
- 1854.9 KiB, 8797.7 KiB installed
Description
== DESCRIPTION:
Ruby-FFI is a ruby extension for programmatically loading dynamic libraries, binding functions within them, and calling those functions from Ruby code. Moreover, a Ruby-FFI extension works without changes on Ruby and JRuby.
Discover why should you write your next extension using Ruby-FFI here[http://wiki.github.com/ffi/ffi/why-use-ffi].
== FEATURES/PROBLEMS:
* It has a very intuitive DSL * It supports all C native types * It supports C structs (also nested), enums and global variables * It supports callbacks * It has smart methods to handle memory management of pointers and structs
Install
Binary package:
pkgin install ruby33-ffi
From pkgsrc:
cd /usr/pkgsrc/devel/ruby-ffi && make install clean
Dependencies
Run dependencies 2
Configuration
No options to configure.
- Service scripts
- none
- Flavors
ruby34-ffi-1.17.4,ruby40-ffi-1.17.4