void-packages/srcpkgs/ruby/ruby-devel.template

26 lines
719 B
Text

# Template file for 'ruby-devel'.
#
short_desc="ruby development files"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
revision=1
Add_dependency run db-devel
Add_dependency run gdbm-devel
Add_dependency run openssl-devel
Add_dependency run zlib-devel
Add_dependency run readline-devel
Add_dependency run ncurses-devel
Add_dependency run ruby
do_install()
{
mkdir -p ${DESTDIR}/usr/{lib,share} ${DESTDIR}/usr/lib/ruby/1.9.1
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/*.a ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/ruby/1.9.1/mkmf.rb \
${DESTDIR}/usr/lib/ruby/1.9.1
mv ${SRCPKGDESTDIR}/usr/share/doc ${DESTDIR}/usr/share
}