Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=385a82a0856bf84ad2f65820e7e9002526240782
commit 385a82a0856bf84ad2f65820e7e9002526240782 Author: crazy <[email protected]> Date: Fri Feb 24 15:47:53 2017 +0100 ruby-2.4.0-1-x86_64 * Version bump * TK support gone * use _F_* and F* so we don't need build() diff --git a/source/devel/ruby/FrugalBuild b/source/devel/ruby/FrugalBuild index 793686f..c8d4ab5 100644 --- a/source/devel/ruby/FrugalBuild +++ b/source/devel/ruby/FrugalBuild @@ -1,14 +1,12 @@ # Compiling time: 2.57 SBU # Maintainer: crazy <[email protected]> -USE_TK=${USE_TK:-"y"} - pkgname=ruby -pkgver=2.3.3 -rubyver=2.3.0 +pkgver=2.4.0 +rubyver=2.4.0 #TODO remove this after upstream fixes packaging pkgpatch= -pkgrel=3 +pkgrel=1 pkgdesc="An object-oriented programming language." url="http://www.ruby-lang.org/" depends=('libxml2>=2.9.4-3' 'zlib>=1.2.8-8' 'db>=6.2.23' 'readline>=6.3-9' \ @@ -18,35 +16,12 @@ archs=("x86_64") _F_archive_grepv="preview\|rc" up2date="Flasttar ftp://ftp.ruby-lang.org/pub/ruby/" source=(ftp://ftp.ruby-lang.org/pub/ruby/ruby-${pkgver}$pkgpatch.tar.xz) -sha1sums=('f2318460606d410e80dd5c82862a93e5736534de') -replaces=('rake' 'racc' 'rdoc') +sha1sums=('038804bbd0e77508dd2510b729a9f3b325489b2e') +replaces=('rake' 'racc' 'rdoc' 'ruby-tk') provides=("${replaces[@]}") conflicts=("${replaces[@]}") - +_F_cd_path="ruby-$pkgver$pkgpatch" +Fconfopts+=" --enable-shared --enable-debug-env" options+=('static') -if Fuse $USE_TK; then - makedepends+=('x11-protos') - subpkgs+=("$pkgname-tk") - subdescs+=("Ruby support for tk/tcl") - subgroups+=('xlib-extra') - subdepends+=('tk>=8.6.6-2') - subrodepends+=("$pkgname>=$pkgver") - subarchs=("x86_64") -fi - - -build() { - - Fcd ruby-$pkgver$pkgpatch - Fbuild \ - --enable-shared --enable-pthread - - if Fuse $USE_TK; then - Fsplit $pkgname-tk usr/lib/$pkgname/$rubyver/{tk/,tkextlib/} - Fsplit $pkgname-tk usr/lib/$pkgname/$rubyver/*tk*.rb - Fsplit $pkgname-tk usr/lib/$pkgname/$rubyver/*-linux/*tk*.so - fi -} - # optimization OK _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
