summaryrefslogtreecommitdiffstats
path: root/ruby/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'ruby/Pkgfile')
-rw-r--r--ruby/Pkgfile23
1 files changed, 23 insertions, 0 deletions
diff --git a/ruby/Pkgfile b/ruby/Pkgfile
new file mode 100644
index 000000000..c0f13e890
--- /dev/null
+++ b/ruby/Pkgfile
@@ -0,0 +1,23 @@
+# Description: Language 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.2
+_version=1.9.2-p290
+release=3
+source=(ftp://ftp.ruby-lang.org/pub/ruby/1.9/$name-$_version.tar.gz)
+
+build() {
+ cd $name-$_version
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --enable-shared \
+ --enable-pthread \
+ --disable-rpath
+ make
+ make DESTDIR=$PKG install
+ rm -r $PKG/usr/share/doc
+}