summaryrefslogtreecommitdiffstats
path: root/extra/ruby/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/ruby/Pkgfile')
-rw-r--r--extra/ruby/Pkgfile21
1 files changed, 21 insertions, 0 deletions
diff --git a/extra/ruby/Pkgfile b/extra/ruby/Pkgfile
new file mode 100644
index 000000000..3745c358a
--- /dev/null
+++ b/extra/ruby/Pkgfile
@@ -0,0 +1,21 @@
+# Description: Langage open-source dynamique qui met l'accent sur la simplicité et la productivité
+# URL: http://www.ruby-lang.org/fr
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: tk
+
+name=ruby
+version=1.9.1
+_version=1.9.1-p243
+release=1
+source=(ftp://ftp.ruby-lang.org/pub/ruby/1.9/$name-$_version.tar.gz)
+
+build() {
+ cd $name-$_version
+ ./configure --prefix=/usr \
+ --enable-shared \
+ --enable-pthread
+ make -j3
+ make DESTDIR=$PKG install
+ make DESTDIR=$PKG install-doc
+}