aboutsummaryrefslogtreecommitdiff
path: root/extra/ruby/build
blob: 9e60677fdec8c410588c350f943969d2c473a74b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh -e

# There is a problem with the archive format so we can't extract it with pax.
busybox tar -xJ --strip-components 1 -f "ruby-$2.tar.xz?no_extract"

./configure \
    --prefix=/usr \
    --enable-shared \
    --enable-static \
    --disable-rpath

make
make DESTDIR="$1" install