2009-10-15 08:07:12 +00:00
require 'formula'
2009-09-14 18:19:58 +00:00
class Rasqal < Formula
2010-04-09 15:37:11 +00:00
url 'http://download.librdf.org/source/rasqal-0.9.19.tar.gz'
2009-12-23 21:51:01 +00:00
homepage 'http://librdf.org/rasqal/'
2010-04-09 15:37:11 +00:00
md5 '9bc1b40ffe1bdc794887d845d153bd4e'
2009-09-14 18:19:58 +00:00
2009-09-21 18:00:13 +00:00
depends_on 'raptor'
2009-09-14 18:19:58 +00:00
2010-07-07 02:33:59 +00:00
def patches
DATA
end
2009-09-14 18:19:58 +00:00
def install
2010-07-07 02:33:59 +00:00
system " ./configure " , " --prefix= #{ prefix } " , " --disable-dependency-tracking "
2009-09-14 18:19:58 +00:00
system " make install "
end
end
2010-07-07 02:33:59 +00:00
__END__
Index : rasqal - 0 . 9 . 19 / configure
=== === === === === === === === === === === === === === === === === === === === === === =
- - - rasqal - 0 . 9 . 19 . orig / configure 2010 - 07 - 06 21 : 10 : 32 . 000000000 - 0500
+ + + rasqal - 0 . 9 . 19 / configure 2010 - 07 - 06 21 : 10 : 41 . 000000000 - 0500
@ @ - 11950 , 7 + 11950 , 7 @ @
RAPTOR_MAX_VERSION_DEC = ` echo $RAPTOR_MAX_VERSION | $AWK -F. '{printf("%d \n ", 10000*$1 + 100*$2 + $3)};' `
if test " X$with_raptor " = Xauto ; then
- if test " X$RAPTOR_VERSION " - a $RAPTOR_VERSION_DEC - ge $RAPTOR_MIN_VERSION_DEC - a $RAPTOR_VERSION_DEC - le $RAPTOR_MAX_VERSION ; then
+ if test " X$RAPTOR_VERSION " - a $RAPTOR_VERSION_DEC - ge $RAPTOR_MIN_VERSION_DEC - a $RAPTOR_VERSION_DEC - le $RAPTOR_MAX_VERSION_DEC ; then
with_raptor = system
else
{ $as_echo " $as_me:${as_lineno-$LINENO}: WARNING: System raptor $RAPTOR_VERSION is not in supported range - $RAPTOR_MIN_VERSION to $RAPTOR_MAX_VERSION " > & 5