2008-10-04 06:29:49 +02:00
|
|
|
# Template build file for 'ruby'.
|
|
|
|
pkgname=ruby
|
2011-11-17 17:15:10 +01:00
|
|
|
_ruby_ver="1.9.3"
|
|
|
|
_ruby_distpatchver="p0"
|
2011-02-27 14:53:02 +01:00
|
|
|
_ruby_distver="${_ruby_ver}-${_ruby_distpatchver}"
|
|
|
|
version=${_ruby_ver}${_ruby_distpatchver}
|
|
|
|
wrksrc="${pkgname}-${_ruby_distver}"
|
2011-11-17 17:15:10 +01:00
|
|
|
distfiles="ftp://ftp.ruby-lang.org/pub/ruby/1.9/$pkgname-${_ruby_distver}.tar.bz2"
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2011-11-17 17:15:10 +01:00
|
|
|
configure_args="--enable-shared --disable-rpath
|
|
|
|
DOXYGEN=/usr/bin/doxygen DOT=/usr/bin/dot PKG_CONFIG=/usr/bin/pkg-config"
|
2008-09-30 05:58:50 +02:00
|
|
|
short_desc="Ruby programming language"
|
2009-03-03 00:05:47 +01:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-11-17 17:15:10 +01:00
|
|
|
checksum=ca8ba4e564fc5f98b210a5784e43dfffef9471222849e46f8e848b37e9f38acf
|
2008-09-30 05:58:50 +02:00
|
|
|
long_desc="
|
2009-04-19 01:23:01 +02: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 18:32:35 +02:00
|
|
|
|
2010-02-18 04:47:45 +01:00
|
|
|
subpackages="ruby-devel ruby-gems ruby-irb ruby-rdoc ruby-ri"
|
|
|
|
|
2011-11-17 17:15:10 +01:00
|
|
|
Add_dependency build pkg-config
|
2011-07-04 16:27:16 +02:00
|
|
|
Add_dependency build bison
|
|
|
|
Add_dependency build groff
|
|
|
|
Add_dependency build doxygen
|
2011-11-17 17:15:10 +01:00
|
|
|
Add_dependency build graphviz
|
2010-02-18 04:47:45 +01:00
|
|
|
Add_dependency build zlib-devel
|
2011-02-27 14:53:02 +01:00
|
|
|
Add_dependency build ncurses-devel
|
2011-11-17 17:15:10 +01:00
|
|
|
Add_dependency build readline-devel
|
2010-12-28 11:58:02 +01:00
|
|
|
Add_dependency build libffi-devel
|
2011-11-17 17:15:10 +01: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}
|
|
|
|
}
|