Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=openjava.git;a=commitdiff;h=b6b38b0ce52afdfc4a3c7760c507d1033ab19025

commit b6b38b0ce52afdfc4a3c7760c507d1033ab19025
Author: kikadf <[email protected]>
Date:   Fri Jun 8 12:45:47 2012 +0200

mod_ruby-1.3.0-3-i686

* Fix up2date, source, build
* Rebuild

diff --git a/source/network-extra/mod_ruby/FrugalBuild 
b/source/network-extra/mod_ruby/FrugalBuild
index c1da7cb..d0d09ac 100644
--- a/source/network-extra/mod_ruby/FrugalBuild
+++ b/source/network-extra/mod_ruby/FrugalBuild
@@ -4,25 +4,26 @@

pkgname=mod_ruby
pkgver=1.3.0
-pkgrel=2
+pkgrel=3
pkgdesc="Embeds the Ruby interpreter into the Apache web server"
-url="http://www.modruby.net/en";
-depends=('apache>=2.2.0' 'ruby>=1.9.1')
+url="http://modruby.net/";
+depends=('apache>=2.2.21' 'ruby>=1.9.2')
groups=('network-extra')
archs=('i686' 'x86_64')
backup=('/etc/httpd/conf/mod_ruby.conf')
-up2date="lynx -dump \"http://www.modruby.net/archive/?C=M\"; | grep 
\"mod_ruby-[0-9.]*.tar.gz\" | tail -n 1 | sed -e 
\"s/.*mod_ruby-\(.*\).tar.gz.*/\1/\""
-source=(http://www.modruby.net/archive/$pkgname-$pkgver.tar.gz mod_ruby.conf)
+up2date="Flasttar $url/en/index.rbx/mod_ruby/download.html"
+source=($url/archive/$pkgname-$pkgver.tar.gz mod_ruby.conf)
sha1sums=('967c4efa1ec3f8b0d9870db8665295ba6e019fff' \
'0ca6007a8266a13590cf7e470b2647096c7c3438')

+
build() {
-       Fbuild --with-apr-includes=/usr/include/apr
+       Fmake --with-apr-includes=/usr/include/apr
+       Ffile $_F_cd_path/lib/apache/*.rb /usr/lib/ruby/1.9.1/apache
+       Ffile $_F_cd_path/lib/auto-reload.rb /usr/lib/ruby/1.9.1
+       Fexe $_F_cd_path/mod_ruby.so /usr/lib/apache/mod_ruby.so
Ffile /etc/httpd/conf/modules.d/mod_ruby.conf
}


-
-
-
# optimization OK
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to