2008-07-11 09:29:19 +02:00
|
|
|
# Maintainer: Juergen Daubert, juergen dot daubert at t-online dot de
|
2006-02-23 15:26:10 +00:00
|
|
|
# Description: Allows you to embed Ruby code into HTML files
|
|
|
|
# URL: http://modruby.net/
|
|
|
|
# Depends on: ruby
|
|
|
|
|
|
|
|
name=eruby
|
|
|
|
version=1.0.5
|
2008-11-10 08:47:13 +01:00
|
|
|
release=2
|
|
|
|
source=(http://modruby.net/archive/$name-$version.tar.gz \
|
|
|
|
$name-$version.patch)
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-$version
|
2008-11-10 08:47:13 +01:00
|
|
|
patch -p0 -i $SRC/$name-$version.patch
|
|
|
|
#sed -i 's|/-linux/|/linux/|g' configure.rb
|
2006-02-23 15:26:10 +00:00
|
|
|
./configure.rb --prefix=/usr --enable-shared
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
}
|