summaryrefslogtreecommitdiffstats
path: root/extra/ruby/Pkgfile
blob: 42d5545b3596d1f35db53b1b6d5361063fc49de4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# 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, p5-tk
# Run on:

name=ruby
version=1.9.1
_version=1.9.1-p378
release=1
source=(ftp://ftp.ruby-lang.org/pub/ruby/1.9/$name-$_version.tar.gz \
	http://nutyx.meticul.eu/files/patchs/$name/openssl-1.0.patch)

build() {
	cd $name-$_version
	patch -p1 -i $SRC/openssl-1.0.patch
	./configure --prefix=/usr \
		--enable-shared \
                --enable-pthread
	make
	make DESTDIR=$PKG install
	make DESTDIR=$PKG install-doc
}