2008-10-04 04:29:49 +00:00
|
|
|
# Template build file for 'ruby'.
|
|
|
|
pkgname=ruby
|
2011-11-17 16:15:10 +00:00
|
|
|
_ruby_ver="1.9.3"
|
|
|
|
_ruby_distpatchver="p0"
|
2011-02-27 13:53:02 +00:00
|
|
|
_ruby_distver="${_ruby_ver}-${_ruby_distpatchver}"
|
|
|
|
version=${_ruby_ver}${_ruby_distpatchver}
|
|
|
|
wrksrc="${pkgname}-${_ruby_distver}"
|
2011-11-17 16:15:10 +00:00
|
|
|
distfiles="ftp://ftp.ruby-lang.org/pub/ruby/1.9/$pkgname-${_ruby_distver}.tar.bz2"
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2011-11-17 16:15:10 +00:00
|
|
|
configure_args="--enable-shared --disable-rpath
|
|
|
|
DOXYGEN=/usr/bin/doxygen DOT=/usr/bin/dot PKG_CONFIG=/usr/bin/pkg-config"
|
2008-09-30 03:58:50 +00:00
|
|
|
short_desc="Ruby programming language"
|
2009-03-02 23:05:47 +00:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-11-17 16:15:10 +00:00
|
|
|
checksum=ca8ba4e564fc5f98b210a5784e43dfffef9471222849e46f8e848b37e9f38acf
|
2008-09-30 03:58:50 +00:00
|
|
|
long_desc="
|
2009-04-18 23:23:01 +00:00
|
|
|
Ruby is the interpreted scripting language for quick and easy object
|
|
|
|
oriented programming. It has many features to process text files and to
|
|
|
|
do system management tasks (as in Perl). It is simple, straight-forward
|
|
|
|
and extensible."
|
2008-10-24 16:32:35 +00:00
|
|
|
|
2010-02-18 03:47:45 +00:00
|
|
|
subpackages="ruby-devel ruby-gems ruby-irb ruby-rdoc ruby-ri"
|
|
|
|
|
2011-11-17 16:15:10 +00:00
|
|
|
Add_dependency build pkg-config
|
2011-07-04 14:27:16 +00:00
|
|
|
Add_dependency build bison
|
|
|
|
Add_dependency build groff
|
|
|
|
Add_dependency build doxygen
|
2011-11-17 16:15:10 +00:00
|
|
|
Add_dependency build graphviz
|
2010-02-18 03:47:45 +00:00
|
|
|
Add_dependency build zlib-devel
|
2011-02-27 13:53:02 +00:00
|
|
|
Add_dependency build ncurses-devel
|
2011-11-17 16:15:10 +00:00
|
|
|
Add_dependency build readline-devel
|
2010-12-28 10:58:02 +00:00
|
|
|
Add_dependency build libffi-devel
|
2011-11-17 16:15:10 +00:00
|
|
|
Add_dependency build openssl-devel
|
|
|
|
Add_dependency build db-devel
|
|
|
|
Add_dependency build gdbm-devel
|
|
|
|
Add_dependency build libyaml-devel
|
|
|
|
Add_dependency build pango-devel
|
|
|
|
|
|
|
|
pre_build() {
|
|
|
|
# Execute manually the pango trigger for doc graphs.
|
|
|
|
cd / && ${FAKEROOT_CMD} ${FAKEROOT_CMD_ARGS} \
|
|
|
|
${XBPS_TRIGGERSDIR}/pango-modules run post-install && \
|
|
|
|
cd ${wrksrc}
|
|
|
|
}
|